Open zachgoldstein opened 1 year ago
Added an input to place a bid. A successful request creates a bid object, links it to the auction, then returns an alert element that will auto-close after 3 secs. Leaving open b/c we need to only allow buyers to bid once, blocked b/c no real user login/out yet, coming in #1
Buyers place bids on active auctions. We need to add a button on the auction detail view that is only viewable for signed in buyers. This button should be associated with some sort of numeric input for the bid value. When clicked, it should issue a POST request to create a bid model object associated with the auction, then update the page to indicate the current user has bid on the current auction.