Men-Guo / alwayswin

297P Project
0 stars 0 forks source link

Add to wish list #17

Open xiazhvera opened 3 years ago

xiazhvera commented 3 years ago

User Story: Add to wish list As a buyer, I would like to add a product to my wish list, so that I could place offer when the bid starts Given the product id and user id (auth token), when the wl request is sent by clicking on the “add to wish list” button, then the backend will update the wish list database, and send responses to the front end.


Estimated Time: 4p*h

Use Case: Add to wish list Actors: User, Wishlist Database Precondition: User at product page, or product card Basic Path: The user click on the favourite star button on the page The front end send request with product id to backend The wishlist database add the product into the database The frontend refresh the favourite status