How richarrrd53/1141_se_project works
This is a FastAPI freelance-project marketplace: clients post projects, freelancers browse and bid, clients select a freelancer, and work proceeds through delivery, issue resolution, and review. The main application coordinates the HTTP workflow and delegates persistence to domain models; templates and browser scripts provide the UI. The source excerpts show some route-to-model calls, but not all route implementations or frontend wiring, so the graph omits unverified links rather than assuming them.
Main entry points: main.py HTTP application · posts.py Project listings · db.py Database connection pool · bids.py Bids and selection
Components 17
Web application
- HTTP application
main.py - Browser interface
html/js/home.js - Login interface
html/js/login.js - Page templates
templates
Project marketplace
- Project listings
model/posts.py - Bids and selection
model/bids.py - User accounts
model/users.py - User lookup routes
routes/dbQuery.py - Password security
security.py
Work lifecycle
- Issue discussion
model/issues.py - Delivery versions
model/deliveries.py - Project reviews
model/reviews.py - Notifications
model/notifications.py - Chunked uploads
routes/upload.py
Persistence
- Database connection pool
model/db.py - PostgreSQL
Other components
- Client / freelancer
Connections 24
- Client / freelancer → HTTP application: uses routes
- Browser interface → HTTP application: requests pages
- Login interface → HTTP application: submits login
- HTTP application → Page templates: renders page
main.py - HTTP application → Project listings: manages projects
main.py - HTTP application → User accounts: looks up users
main.py - HTTP application → Bids and selection: reads bid details
main.py - HTTP application → Notifications: creates notifications
main.py - HTTP application → Issue discussion: reads issues
main.py - HTTP application → Project reviews: handles reviews
main.py - HTTP application → Delivery versions: handles deliveries
main.py - HTTP application → Chunked uploads: routes uploads
main.py - HTTP application → User lookup routes: registers routes
main.py - HTTP application → Password security: checks passwords
main.py - HTTP application → Database connection pool: gets connections
main.py - User lookup routes → Database connection pool: gets connections
routes/dbQuery.py - Chunked uploads → Project listings: uses project model
routes/upload.py - Project listings → PostgreSQL: reads and writes
model/posts.py - Bids and selection → PostgreSQL: reads and writes
model/bids.py - Issue discussion → PostgreSQL: reads and writes
model/issues.py - Delivery versions → PostgreSQL: reads and writes
model/deliveries.py - Project reviews → PostgreSQL: reads and writes
model/reviews.py - Notifications → PostgreSQL: reads and writes
model/notifications.py - Database connection pool → PostgreSQL: opens connections
model/db.py