Terms In Bidding vs Auction, bidding is when a person makes an offer on an item, while an auction is the event where many people compete by bidding to buy something.
- Auctions are listed in the
Auctions.json
file - Auctions are loaded, then persisted to the db
- A user can submit a bid against a product
- After the Auction timer ends, the highest bid is stored against the item
- create a
.env
- see.example.env
docker compose up
- start- use postman collection to submit bid and get highest bid
docker-compose down -v
- terminate
- run
npm i
in terminal npm run test
/api/bid/
- submit a bid -POST
/api/highest-bid?productId=headset
- get highest bid for itemGET
- Use a message bus with FIFO, dlqs for bids
- grpc with protobufs
- Setup performance tests i.e. k6
- Setup automation tests via cicd, tear down environment
- Data validation and error handing