How prajwalas1/quote-desk works
Quote Desk is a single-user procurement app for creating RFQs, recording supplier quotes, and identifying the lowest-priced eligible offer. Users enter RFQs and quotes in the React interface; FastAPI validates and routes these requests, persists them in PostgreSQL, and evaluates status and best quote when RFQs are read. The graph includes the documented Neon-backed persistence and health capability. The Vite /api proxy is documented, but its wiring is not shown in the sampled frontend configuration; unsampled implementation details are not inferred.
Main entry points: rfqs.py RFQ routes · main.jsx RFQ and quote views · api.js API request client · database.py Database connection
Components 12
Procurement UI
- RFQ and quote views
frontend/src/main.jsx - Entry forms
frontend/src/forms.jsx - API request client
frontend/src/api.js
API and evaluation
- API application
backend/app/main.py - RFQ routes
backend/app/routes/rfqs.py - Health routes
backend/app/routes/health.py - Request validation
backend/app/schemas/rfqs.py - Status and winner
backend/app/services/quote_selection.py
Persistence
- RFQ and quote repository
backend/app/repositories/rfqs.py - Database connection
backend/app/core/database.py - Neon PostgreSQL
Other components
- Procurement user
Connections 13
- Procurement user → RFQ and quote views: uses
frontend/src/main.jsx - RFQ and quote views → API request client: loads RFQs
frontend/src/main.jsx - RFQ and quote views → Entry forms: renders forms
frontend/src/main.jsx - Entry forms → API request client: submits entries
frontend/src/forms.jsx - API request client → RFQ routes: sends API requests
README.md - API application → RFQ routes: registers router
backend/app/main.py - API application → Health routes: registers router
backend/app/main.py - RFQ routes → Request validation: validates payloads
backend/app/routes/rfqs.py - RFQ routes → RFQ and quote repository: reads and writes
backend/app/routes/rfqs.py - RFQ routes → Status and winner: evaluates RFQs
backend/app/routes/rfqs.py - RFQ and quote repository → Database connection: opens connections
backend/app/repositories/rfqs.py - Health routes → Database connection: checks database
backend/app/routes/health.py - Database connection → Neon PostgreSQL: connects
backend/app/core/database.py