Men-Guo / alwayswin

297P Project
0 stars 0 forks source link

Place Offer #18

Open xiazhvera opened 3 years ago

xiazhvera commented 3 years ago

User Story3: Place offer As a buyer, I would like to place an offer on a product Given an offer price and product id, when an offer request is sent, then the backend will validate the offer, update the offer database and return if the offer is successfully placed for the product. --------------------------------------------------------------------------------------------------------------------------Estimated Time: 16p*h

--------------------------------------------------------------------------------------------------------------------------Use Case: Place offer Actors: User, Bidding Database, Product Status Database Precondition: User at product page, or product card Basic Path: The user enter the offer price and bid button to place an offer The front end send request with product id, price to the backend Add new bidding data into Bidding Database Update product status database with new highest price The frontend refresh the price status and bidding table