1. App Dev 1
Project Architecture
examination-management-portal/
│
├── app.py
├── config.py
├── database.py
├── requirements.txt
│
├── models/
│ ├── user.py
│ ├── student.py
│ ├── examiner.py
│ ├── course.py
│ ├── examination.py
│ ├── examination_slot.py
│ ├── booking.py
│ ├── evaluation.py
│ ├── rubric.py
│ └── result.py
│
├── routes/
│ ├── auth.py
│ ├── student.py
│ ├── examiner.py
│ ├── admin.py
│ ├── course.py
│ ├── examination.py
│ ├── booking.py
│ ├── evaluation.py
│ ├── result.py
│ └── report.py
│
├── services/
│ ├── auth_service.py
│ ├── course_service.py
│ ├── examination_service.py
│ ├── booking_service.py
│ ├── evaluation_service.py
│ ├── result_service.py
│ └── report_service.py
│
├── templates/
│ ├── base.html
│ ├── auth/
│ ├── student/
│ ├── examiner/
│ ├── admin/
│ ├── examination/
│ ├── booking/
│ ├── evaluation/
│ ├── result/
│ └── reports/
│
├── static/
│ ├── css/
│ ├── js/
│ └── images/
│
├── utils/
│ ├── validators.py
│ ├── decorators.py
│ ├── helpers.py
│ └── constants.py
│
├── reports/
│ ├── generated/
│ └── templates/
│
├── database.db
├── .env
├── .gitignore
└── README.md
Layer Structure
User
│
▼
Jinja2 Templates
│
▼
Flask Routes
│
▼
Service Layer
│
▼
Model Layer
│
▼
SQLite Database
Main Components
Request Flow
Student / Examiner / Admin
│
▼
Jinja2 Web Page
│
▼
Flask Route
│
▼
Service Layer
│
▼
Model Layer
│
▼
SQLite DB
│
▼
Flask Response
│
▼
HTML Page
2. App Dev 2
Project Architecture
examination-management-portal/
│
├── backend/
│ ├── app.py
│ ├── config.py
│ ├── database.py
│ ├── requirements.txt
│ │
│ ├── models/
│ │ ├── user.py
│ │ ├── student.py
│ │ ├── examiner.py
│ │ ├── course.py
│ │ ├── examination.py
│ │ ├── examination_slot.py
│ │ ├── booking.py
│ │ ├── evaluation.py
│ │ ├── rubric.py
│ │ └── result.py
│ │
│ ├── routes/
│ │ ├── auth.py
│ │ ├── students.py
│ │ ├── examiners.py
│ │ ├── admin.py
│ │ ├── courses.py
│ │ ├── examinations.py
│ │ ├── bookings.py
│ │ ├── evaluations.py
│ │ ├── results.py
│ │ └── reports.py
│ │
│ ├── services/
│ │ ├── auth_service.py
│ │ ├── course_service.py
│ │ ├── examination_service.py
│ │ ├── booking_service.py
│ │ ├── evaluation_service.py
│ │ ├── result_service.py
│ │ └── report_service.py
│ │
│ ├── cache/
│ │ ├── redis_client.py
│ │ └── cache_service.py
│ │
│ ├── jobs/
│ │ ├── celery_app.py
│ │ ├── report_jobs.py
│ │ ├── export_jobs.py
│ │ └── reminder_jobs.py
│ │
│ ├── utils/
│ │ ├── validators.py
│ │ ├── decorators.py
│ │ ├── helpers.py
│ │ └── constants.py
│ │
│ ├── reports/
│ │ ├── generated/
│ │ ├── templates/
│ │ └── exporters/
│ │ ├── pdf_exporter.py
│ │ ├── excel_exporter.py
│ │ └── csv_exporter.py
│ │
│ └── database.db
│
├── frontend/
│ ├── package.json
│ ├── vite.config.js
│ │
│ ├── public/
│ │
│ └── src/
│ ├── components/
│ │ ├── Navbar.vue
│ │ ├── Sidebar.vue
│ │ ├── Modal.vue
│ │ ├── Table.vue
│ │ ├── Form.vue
│ │ └── Pagination.vue
│ │
│ ├── views/
│ │ ├── Login.vue
│ │ ├── Dashboard.vue
│ │ ├── Students.vue
│ │ ├── Examinations.vue
│ │ ├── Bookings.vue
│ │ ├── Evaluations.vue
│ │ ├── Results.vue
│ │ └── Reports.vue
│ │
│ ├── router/
│ │ └── index.js
│ │
│ ├── services/
│ │ ├── api.js
│ │ ├── authService.js
│ │ ├── examinationService.js
│ │ ├── bookingService.js
│ │ ├── evaluationService.js
│ │ └── reportService.js
│ │
│ ├── assets/
│ │ ├── css/
│ │ ├── images/
│ │ └── icons/
│ │
│ ├── App.vue
│ └── main.js
│
├── .env
├── .gitignore
└── README.md
Layer Structure
User
│
▼
Vue.js Frontend
│
├── Components
├── Views
├── Vue Router
└── API Services
│
▼
HTTP / REST API
│
▼
Flask Backend
│
├── API Routes
├── Services
└── Models
│
▼
SQLite Database
Main Components
Request Flow
Student / Examiner / Admin
│
▼
Vue.js UI
│
▼
Vue Components
│
▼
API Service
│
▼
Flask REST API
│
▼
Service Layer
│
▼
Model Layer
│
▼
SQLite DB
Supporting Services
Flask Backend
│
┌───────────┴───────────┐
│ │
▼ ▼
Redis Celery
Cache Background Jobs
│
┌────────────────┼────────────────┐
▼ ▼ ▼
Reports Exports Reminders
│
┌──────┼──────┐
▼ ▼ ▼
PDF Excel CSV
3. App Dev 1 vs App Dev 2
4. Overall Structural Progression
App Dev 1
APP DEV 1
│
├── Frontend
│ └── Jinja2
│
├── Backend
│ └── Flask
│
└── Database
└── SQLite
Single Flask Application
↓
Routes + Services + Models
↓
Jinja2 Templates
↓
SQLite
App Dev 2
APP DEV 2
│
├── Frontend
│ └── Vue.js
│
├── Backend
│ └── Flask REST API
│
├── Database
│ └── SQLite
│
├── Cache
│ └── Redis
│
└── Background Processing
└── Celery
Vue.js Frontend
↓
REST API
↓
Flask Backend
↓
Services + Models
↓
SQLite
│
├── Redis
│
└── Celery
5. Key Structural Difference
APP DEV 1
Frontend + Backend
│
▼
Single Flask Application
│
▼
SQLite
APP DEV 2
Vue.js Frontend
│
▼
Flask REST API
│
▼
Backend Services
│
├── SQLite
├── Redis
└── Celery
In short: App Dev 1 establishes the core examination management system using a monolithic Flask architecture, while App Dev 2 evolves it into a decoupled full-stack architecture with Vue.js, REST APIs, Redis caching, Celery background jobs, and dedicated reporting/export services.