shopaholics-2104 / graceshopper-project

MIT License
0 stars 4 forks source link

As a customer/visitor: edit my cart if I change my mind: #4

Open yingshuyan opened 3 years ago

yingshuyan commented 3 years ago

Implementation:

  1. change the quantity of a product in my cart.
    • [x] BackEnd: Create app.put route to change qty to cart model
    • [x] FrontEnd: Create thunk function to send put request to server and update redux store state
    • [x] FrontEnd: Cart Component be able to re-render when item qty is changed.

2.remove a product in my cart.

3.No one else should be able to edit my cart except me.

yingshuyan commented 3 years ago

finish with login user userId specific(it only renders login user's cart)