Added Card model, updated database initialization, udated readme.

This commit is contained in:
2025-12-29 16:03:16 -06:00
parent 80c4deb674
commit 41d1cc4fc0
7 changed files with 161 additions and 32 deletions

View File

@@ -1,6 +1,28 @@
@SDG_Backend_Barracuda_HostAddress = http://localhost:5164
GET {{SDG_Backend_Barracuda_HostAddress}}/weatherforecast/
### Get all cards
GET {{SDG_Backend_Barracuda_HostAddress}}/card/
Accept: application/json
###
### Create a new card
POST {{SDG_Backend_Barracuda_HostAddress}}/card
Content-Type: application/json
{
"value": "Sample Card Value"
}
### Get a card by ID
GET {{SDG_Backend_Barracuda_HostAddress}}/card/1
Accept: application/json
### Update a card
PUT {{SDG_Backend_Barracuda_HostAddress}}/card/1
Content-Type: application/json
{
"value": "Updated Card Value"
}
### Delete a card
DELETE {{SDG_Backend_Barracuda_HostAddress}}/card/1