Skip to content

Commit

Permalink
Merge pull request #131 from CSCI-GA-2820-SP24-001/update-readme
Browse files Browse the repository at this point in the history
Update datatypes in README.md
  • Loading branch information
vidishaholsambre authored Apr 30, 2024
2 parents 15231fb + 586565a commit 32b3fa6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,20 @@ tests/ - test cases package

| `Name` | `Description` | `Data type` |
| ----------- | --------------------- | --------------- |
| id | Unique ID for the shopcart. | uuid |
| user_id | Unique ID tying a User ID to the shopcart. | uuid |
| items | List of items in the shopcart | `items` |
| id | Unique ID for the shopcart. | Integer |
| user_id | Unique ID tying a User ID to the shopcart. | String |
| items | List of items in the shopcart | `items`: List |

##### `Item`

| `Name` | `Description` | `Data type` |
| ----------- | --------------------- | --------------- |
| id | Unique ID for the item. | uuid |
| cart_id | ID of the shopcart it belongs to | uuid |
| id | Unique ID for the item. | Integer |
| cart_id | ID of the shopcart it belongs to | Integer |
| product_name | Name of the product | String |
| product_id | ID of the product | uuid |
| quantity | Quantity of the product in the cart | Number |
| product_price | Price of the product when it was added | Float |
| product_id | ID of the product | Integer |
| quantity | Quantity of the product in the cart | Integer |
| product_price | Price of the product when it was added | Numeric |

## Routes

Expand Down

0 comments on commit 32b3fa6

Please sign in to comment.