How nikhilshoonya/traincheck works
TrainCheck is a learning-and-development platform for employee training, assessments, behaviour reviews, feedback and compliance reporting. L&D administrators manage people, training, question banks and imports; employees complete assigned training and assessments, with a backend-controlled assessment gate and scoring workflow. Reports and exports provide operational and learning evidence. The graph emphasizes backend ownership and documented module relationships; frontend pages are present in the tree, but sampled evidence does not establish their API calls. Some subsystems are represented by their exact enclosing directories because their implementation files were not sampled.
Main entry points: main.py API application · training/router.py Training management · employee/router.py Employee workspace API · service.py Bulk imports
Components 22
API and access
- API application
backend/app/main.py - Identity and gate
backend/app/core/deps.py - Database sessions
backend/app/core/db.py - Domain records
backend/app/models.py
Learning setup
- Training management
backend/app/modules/training/router.py - Question bank
backend/app/modules/question_bank/router.py - Bulk imports
backend/app/modules/imports/service.py - Organisation people
backend/app/modules/organisation/people.py
Assessment lifecycle
- Obligation gate
backend/app/modules/assessment/gate.py - Assessment scheduling
backend/app/modules/assessment/scheduling.py - Exam and scoring engine
backend/app/modules/assessment/service.py - Notifications
backend/app/modules/notifications/service.py
People and feedback
- Employee workspace API
backend/app/modules/employee/router.py - Sign-in
backend/app/modules/identity/router.py - Behaviour reviews
backend/app/modules/behaviour/router.py - Assessment feedback
backend/app/modules/feedback/router.py
Reports and operations
- Reports and exports
backend/app/modules/reports/router.py - Audit history
backend/app/modules/audit/router.py - Scheduled jobs
backend/app/modules/scheduler/jobs.py
Other components
- Employee
- L&D admin
- TrainCheck workspace
frontend/src/app/(workspace)/layout.tsx
Connections 32
- API application → Sign-in: registers routes
backend/app/main.py - API application → Employee workspace API: registers routes
backend/app/main.py - API application → Training management: registers routes
backend/app/main.py - API application → Question bank: registers routes
backend/app/main.py - API application → Bulk imports: registers routes
backend/app/main.py - API application → Behaviour reviews: registers routes
backend/app/main.py - API application → Assessment feedback: registers routes
backend/app/main.py - API application → Reports and exports: registers routes
backend/app/main.py - API application → Audit history: registers routes
backend/app/main.py - Sign-in → Identity and gate: uses access checks
backend/app/modules/identity/router.py - Employee workspace API → Obligation gate: uses assessment gate
backend/app/modules/employee/router.py - Identity and gate → Obligation gate: checks obligations
backend/app/core/deps.py - Obligation gate → Exam and scoring engine: checks pool readiness
backend/app/modules/assessment/gate.py - Obligation gate → Notifications: alerts unavailable
backend/app/modules/assessment/gate.py - Training management → Exam and scoring engine: uses exam services
backend/app/modules/training/router.py - Training management → Assessment scheduling: uses calendar logic
backend/app/modules/training/router.py - Training management → Notifications: uses notification service
backend/app/modules/training/router.py - Employee workspace API → Assessment scheduling: uses due dates
backend/app/modules/employee/router.py - Employee workspace API → Behaviour reviews: uses review service
backend/app/modules/employee/router.py - Employee workspace API → Reports and exports: uses scorecard data
backend/app/modules/employee/router.py - Assessment feedback → Exam and scoring engine: checks assessment state
backend/app/modules/feedback/router.py - Bulk imports → Question bank: uses question bank
backend/app/modules/imports/service.py - Bulk imports → Training management: uses training service
backend/app/modules/imports/service.py - Bulk imports → Organisation people: uses people data
backend/app/modules/imports/service.py - Reports and exports → Assessment scheduling: uses calendar logic
backend/app/modules/reports/router.py - Reports and exports → Notifications: uses notification service
backend/app/modules/reports/router.py - Behaviour reviews → Domain records: reads and writes
backend/app/modules/behaviour/router.py - Training management → Domain records: reads and writes
backend/app/modules/training/router.py - Exam and scoring engine → Domain records: reads and writes
backend/app/modules/assessment/service.py - Database sessions → Domain records: maps records
backend/app/models.py - Employee → TrainCheck workspace: uses workspace
- L&D admin → TrainCheck workspace: uses workspace