User Stories - dion-pham/solo-capstone-round-two GitHub Wiki
Cart
View cart and add to cart
As a logged in user, I want to be able to be able to add items to my cart and view the items in my cart.
When I'm on the /product/:productId page, I can click "add to cart" so that I can add the item to my cart so that I can intend to purchase it.
When I'm on the /cart page, I can view the items in my cart to review what I want to purchase.
Updating Cart
As a logged in user, I want to be able to update my cart by changing the quantity of items purchased.
When I'm on the /cart page, I can click the '-' or '+' button so that I can buy more or less of a given item.
Deleting items from Cart
As a logged in user, I want to be able to delete items from my cart.
When I'm on the /cart page, I can click "delete" so that I no longer have to buy that item.
Purchases
Create instance of purchase
As a logged in user, I want to be able to purchase an item and add it to my purchase history.
When I'm on the /cart page, I can click "check out" so that I can purchase the item.
View purchases
As a logged in user, I want to be able to view my purchase history.
When I'm on the /order-history page, I can browse all the purchases I've made.
Update
As a logged in user, I want to be able to update my purchase history.
When I'm on the /order-history page, I can update an entry in my purchase history such as shipping instructions so that I can change where I want my product to be sent to.
Delete
As a logged in user, I want to be able to delete my purchase instance.
When I'm on the /order-history page, I can click "refund" to effectively delete an item from my purchases list because I no longer want that item.