How vishutx/candidate-status works
This is a FastAPI employee-attendance and analytics API backed by MongoDB. The principal workflow is to submit or regularize attendance, retain an audit trail, and query attendance and derived analytics. The README says the runtime is concentrated in app/main.py; the graph separates its documented domain responsibilities without implying separate modules. The excerpts show selected database operations, but not every route or startup implementation, so unsampled relationships are omitted. The optional sample-data loader is excluded from the runtime architecture.
Main entry points: main.py FastAPI application
Components 14
API and attendance
- FastAPI application
app/main.py - Attendance records
app/main.py - Manual regularization
app/main.py - Change audit trail
app/main.py
Analytics and administration
- Monthly employee analytics
app/main.py - Department summary
app/main.py - Late leaderboard
app/main.py - Department trend
app/main.py - Query explain
app/main.py
Persistent data
- Startup indexing
app/main.py - Employees collection
- Attendance collection
Other components
- API client
- MongoDB
Connections 16
- API client → FastAPI application: calls API
README.md - FastAPI application → Attendance records: routes attendance
app/main.py - FastAPI application → Manual regularization: routes regularization
app/main.py - Manual regularization → Change audit trail: records changes
app/main.py - FastAPI application → Monthly employee analytics: routes analytics
README.md - FastAPI application → Department summary: routes analytics
app/main.py - FastAPI application → Late leaderboard: routes analytics
app/main.py - FastAPI application → Department trend: routes analytics
app/main.py - FastAPI application → Query explain: routes explain
app/main.py - Department summary → Employees collection: aggregates
app/main.py - Late leaderboard → Attendance collection: aggregates
app/main.py - Department trend → Employees collection: checks department
app/main.py - FastAPI application → Employees collection: reads employee
app/main.py - Startup indexing → MongoDB: creates indexes
README.md - Employees collection → MongoDB: stored in
- Attendance collection → MongoDB: stored in