CSCI-GA-2820-FA24-003 / shopcarts

NYU DevOps Shopcarts Service Fall 2024
Apache License 2.0
0 stars 0 forks source link

List a customer's Shopcart <Admin> #5

Closed apoorvsingh2000 closed 3 days ago

apoorvsingh2000 commented 1 week ago

As a Shopcart admin, I need to be able to view all the products in any customer's shopcart by specifying the customer ID. So that I can collect data on the products that are in demand.

Assumptions:

Acceptance Criteria:

Given that a customer has an active shopcart,
When they add a product with a valid product ID, description, and quantity,
Then the product is visible to the admin in the customer's shopcart, and the shopcart reflects the new product in the admin portal.
safipatel commented 1 week ago

The idea is to have the original options of being able to view all shopcarts (general update) but also to have a admin option where they can filter by customer ID. I think this is a lower priority, additional feature for later.

safipatel commented 3 days ago

While I see this as a feature that an actual "customer" would never see (in the sense of a customer of our business that uses a shopcart), I think the customer we care about is in the agile sense of the customer of our product. So in that sense, I would argue that an admin account on the Shopcart website who has a job of customer service, etc. would still be considered a customer of our product, making this an enhancement and not technical debt.