How yashwantalli/examination-management-portal works
EMP is a role-based examination portal. Students find exams and book or cancel slots, examiners create slots and evaluate students against rubrics, and administrators configure exams and publish results. HTML routes and the session-authenticated JSON API share business rules in services.py; SQLAlchemy models hold the domain state. The README documents PDF scorecards, booking audit events, and optional email. Evidence is limited to the excerpts, source-index references, and README; unsampled route details are represented only at subsystem level.
Main entry points: app.py App setup · services.py Business rules · models.py Exam domain models · student.py Student workflow
Components 15
Application foundation
- App setup
app.py - Configuration
config.py - Flask extensions
extensions.py - Portal views
templates
Accounts and access
- Authentication
routes/auth.py
Examination workflows
- Admin management
routes/admin.py - Examiner workflow
routes/examiner.py - Student workflow
routes/student.py - Session JSON API
routes/api.py - Business rules
services.py - PDF scorecards
scorecard.py
Domain and persistence
- Exam domain models
models.py - Relational database
- SMTP mail
Other components
- Portal users
Connections 24
- App setup → Configuration: loads config
app.py - App setup → Flask extensions: initializes
app.py - App setup → Authentication: registers routes
app.py - App setup → Admin management: registers routes
app.py - App setup → Session JSON API: registers routes
app.py - App setup → Exam domain models: initializes ORM
app.py - Portal users → Authentication: sign in
README.md - Authentication → Exam domain models: reads and writes
routes/auth.py - Portal users → Student workflow: book examinations
README.md - Portal users → Examiner workflow: evaluate students
README.md - Portal users → Admin management: manage examinations
README.md - Portal users → Session JSON API: use JSON API
README.md - Student workflow → Business rules: requests booking actions
routes/student.py - Examiner workflow → Business rules: saves evaluations
routes/examiner.py - Admin management → Business rules: uses shared rules
README.md - Session JSON API → Business rules: uses shared rules
README.md - Business rules → Exam domain models: reads and writes
services.py - Student workflow → PDF scorecards: downloads PDF
routes/student.py - PDF scorecards → Exam domain models: reads result data
scorecard.py - Exam domain models → Relational database: persists records
README.md - Student workflow → Portal views: renders pages
README.md - Examiner workflow → Portal views: renders pages
README.md - Admin management → Portal views: renders pages
README.md - Business rules → SMTP mail: sends notifications
services.py