How ankitsharma101/british_auction works
This is a British-auction RFQ platform: buyers configure freight requests and auction rules, suppliers submit priced bids, and the system ranks bids while extending closing time under configured triggers and a forced-close cap. The main workflow runs from RFQ creation through bidding, ranking, and activity auditing; listing and detail views expose status and results. Backend route handlers combine orchestration and domain logic in one source file, so the graph separates their responsibilities without implying separate implementation modules. The README documents the SQLite/Prisma data layer; source excerpts show backend database operations, but the schema itself was not sampled.
Main entry points: schema.prisma RFQ, bid and activity data · [id]/page.tsx RFQ detail and bid form · app/page.tsx RFQ listing · new/page.tsx RFQ creation form
Components 9
Web application
- RFQ listing
frontend/src/app/page.tsx - RFQ creation form
frontend/src/app/rfq/new/page.tsx - RFQ detail and bid form
frontend/src/app/rfq/[id]/page.tsx
RFQ and auction API
- Create RFQ
backend/src/index.ts - List RFQs
backend/src/index.ts - RFQ details and ranking
backend/src/index.ts - Bid and extension engine
backend/src/index.ts
Auction data
- RFQ, bid and activity data
backend/prisma/schema.prisma
Other components
- Buyer / supplier
Connections 11
- Buyer / supplier → RFQ listing: browses
frontend/src/app/page.tsx - Buyer / supplier → RFQ creation form: configures RFQ
frontend/src/app/rfq/new/page.tsx - Buyer / supplier → RFQ detail and bid form: views and bids
frontend/src/app/rfq/[id]/page.tsx - RFQ creation form → Create RFQ: posts RFQ
frontend/src/app/rfq/new/page.tsx - RFQ listing → List RFQs: fetches list
frontend/src/app/page.tsx - RFQ detail and bid form → RFQ details and ranking: polls details
README.md - RFQ detail and bid form → Bid and extension engine: submits bid
frontend/src/app/rfq/[id]/page.tsx - Create RFQ → RFQ, bid and activity data: creates RFQ
backend/src/index.ts - List RFQs → RFQ, bid and activity data: reads RFQs and bids
backend/src/index.ts - RFQ details and ranking → RFQ, bid and activity data: reads RFQ, bids, logs
backend/src/index.ts - Bid and extension engine → RFQ, bid and activity data: reads and writes bids, RFQ, logs
backend/src/index.ts