nyu-devops-squad/shopcarts

update model

Closed this issue · 0 comments

As a Developer
I need to adjust the resource model for shopcart
So that it can provide more information without useless data

Details & Assumptions:
delete id
make the customer_id and product_id the compound key
add prodcut_price, product_name
change the service.py accordingly

Acceptance Criteria:

Given [models updated]
When [endpoints are reached]
Then [all operations will completed without any error]