How abhinavvel2006/student-enrollment-system works
This Flask student-enrollment system supports applicant submissions, staff review and decisions, and ongoing student account/profile access; it also provides a rule-based enrollment chatbot. Requests enter through the Flask routes, which dispatch to user or admin handlers. Those handlers query MySQL directly, while configuration supplies database and session settings. The tree also shows a joined-date migration and an email integration used by the admin module, though the sampled admin excerpts do not show the email call site. Template and other unsampled UI relationships are omitted where source evidence is unavailable.
Main entry points: main.py Route dispatcher · config.py Runtime configuration · user.py Admission submission · admin.py Application review and decisions
Components 16
Web entry and UI
- Route dispatcher
main.py - Enrollment landing page
templates/user/index.html - Chat interface
static/js/Script.js
Enrollment workflows
- Admission submission
auth/user_auth/user.py - Enrollment chatbot
auth/user_auth/user.py - Admin authentication
auth/admin_auth/admin.py - Application review and decisions
auth/admin_auth/admin.py
Student records
- Student login and profile
auth/user_auth/user.py - Student admission and management
auth/admin_auth/admin.py
State and integrations
- MySQL records
- Runtime configuration
config.py - Admission email sender
utils/email.py - Joined-date migration
database/migrate_joined_at.py
Other components
- Applicant
- Administrator
- Brevo email service
Connections 22
- Applicant → Route dispatcher: submits requests
main.py - Administrator → Route dispatcher: uses admin routes
main.py - Route dispatcher → Enrollment landing page: renders
main.py - Route dispatcher → Admission submission: dispatches admission
main.py - Route dispatcher → Enrollment chatbot: dispatches chat
main.py - Route dispatcher → Student login and profile: dispatches student access
main.py - Route dispatcher → Admin authentication: dispatches admin login
main.py - Route dispatcher → Application review and decisions: dispatches decisions
main.py - Route dispatcher → Student admission and management: dispatches management
main.py - Chat interface → Enrollment chatbot: posts messages
static/js/Script.js - Admission submission → MySQL records: writes application
auth/user_auth/user.py - Student login and profile → MySQL records: reads student records
auth/user_auth/user.py - Application review and decisions → MySQL records: reads and updates
auth/admin_auth/admin.py - Student admission and management → MySQL records: reads and updates
auth/admin_auth/admin.py - Route dispatcher → Runtime configuration: loads secret key
main.py - Admission submission → Runtime configuration: loads database settings
auth/user_auth/user.py - Student login and profile → Runtime configuration: loads database settings
auth/user_auth/user.py - Admin authentication → Runtime configuration: loads database settings
auth/admin_auth/admin.py - Application review and decisions → Admission email sender: may send acceptance email
auth/admin_auth/admin.py - Admission email sender → Brevo email service: sends email
utils/email.py - Joined-date migration → MySQL records: backfills joined dates
database/migrate_joined_at.py - Joined-date migration → Runtime configuration: loads database settings
database/migrate_joined_at.py