Commit Graph

34 Commits

Author SHA1 Message Date
drew a7458e1419 fixed things 2025-01-24 10:58:16 -06:00
drew f1bad20522 forgot migrations 2025-01-24 09:07:28 -06:00
drew b7aa576727 broke and fixed db at the same time 2025-01-24 09:06:32 -06:00
drew 9892684ebc things 2025-01-23 20:05:08 -06:00
drew 439fd9d51c grouped api endpoints in swagger 2025-01-23 19:17:04 -06:00
drew 64ec597a1c more status 2025-01-23 18:52:25 -06:00
drew b13acf36ed added rest of inventory status endpoints 2025-01-23 13:24:16 -06:00
drew 58e19bd32a created item status db 2025-01-23 13:02:54 -06:00
drew b41e078595 Migrations! 2025-01-21 19:46:54 -06:00
drew 364c7d83e2 Switch to PostgreSQL and update database configuration 2025-01-21 19:41:18 -06:00
drew 93e62ad6e4 added anyheader to coors 2025-01-20 21:30:34 -06:00
drew 18ac612b55 Expand CORS policy to allow all HTTP methods.
Updated the CORS configuration to permit any HTTP method for specified origins. This change enhances flexibility for client-server interactions while maintaining the defined security boundaries.
2025-01-20 21:19:21 -06:00
Drew Rautenberg 88d583ee4f Update barkmanAPI/Program.cs
Co-authored-by: Nix <3743825+NixFey@users.noreply.github.com>
2025-01-15 20:48:57 -06:00
Drew Rautenberg 49b348dd01 Merge branch 'main' into api-calls 2025-01-15 20:44:41 -06:00
drew 0298bbdb25 fixed cors? 2025-01-15 16:14:55 -06:00
drew c5f07c83f1 fixed cors 2025-01-15 15:42:03 -06:00
drew ea40d6fc3c progress? pt3 2025-01-15 15:40:59 -06:00
Drew Rautenberg a3180e6076 Merge pull request #11 from Pup-Ion-Dev/cors-fix
Cors fix
2025-01-14 11:00:05 -06:00
drew 19e1966ecd added cors with hardcoded urls 2025-01-14 10:46:44 -06:00
drew c6a54ee2e1 moved db to folder 2025-01-12 20:05:30 -06:00
Drew Rautenberg b53014627b Merge pull request #6 from Pup-Ion-Dev/dockertest
Dockertest
2025-01-12 19:47:16 -06:00
drew 53c8c0700a fixed it 2025-01-12 19:46:35 -06:00
drew 2e1a3b0dcc shits fucked? 2025-01-12 19:41:55 -06:00
Drew Rautenberg 2a656dbb87 Rename barkmanAPI.csproj to barkmanapi.csproj 2025-01-12 19:05:56 -06:00
drew 82f0249989 Add Docker support for the API project 2025-01-12 18:40:39 -06:00
drew f67d00c921 changed structure 2025-01-09 13:23:49 -06:00
drew 8375999172 Add CRUD endpoints for inventory management
Implemented GET, POST, PUT, and DELETE endpoints for the `/inventory` resource. These endpoints provide full CRUD functionality, handling operations such as retrieval, creation, update, and deletion of inventory items in the database. Adds appropriate error handling for cases where inventory items are not found.
2025-01-08 19:30:52 -06:00
drew f942c30b49 added a bunch of shit 2025-01-08 19:04:35 -06:00
drew 9ffaf27ca3 stuff 2025-01-08 18:13:31 -06:00
drew 09e65ee0d1 Rename and refactor inventory model to bark database model
Renamed `inventoryModel.cs` to `barkDbModel.cs` and refactored the context class from `InventoryContext` to `BarkContext`. Consolidated inventory item properties into a new `InventoryItems` class for better organization and future scalability.
2025-01-08 17:09:20 -06:00
drew c3e567494c updates 2025-01-08 16:57:51 -06:00
drew 0bc0c9e76f some changes 2025-01-08 10:55:59 -06:00
drew b05abfba0e things pt2 2025-01-07 22:02:12 -06:00
drew 696cc84dc0 things and stuff 2025-01-07 21:56:50 -06:00