The Flask app follows a single-module structure:
- routes.py -- Web routes and REST API endpoints (flask-restx)
- models.py -- MongoEngine document models (User, Course, Enrollment)
- forms.py -- WTForms classes for login and registration
- templates/ -- Jinja2 HTML templates with Bootstrap 5