Source Code Only
Full ZIP with frontend, backend, database & documentation.
- Complete project source files
- Database script included
- How-to-run guide
Tap to open live demo
Interactive live demo — verify the project before you buy
Complete final-year project source code with frontend, backend, database, and setup guide. Instant download after secure payment.
Choose your plan
Full ZIP with frontend, backend, database & documentation.
We install & configure the project on your laptop within 24 hours.
Review features, setup steps, and credentials before you pay.
Description, tech stack, and what is included
Online Quiz System is a Python and MySQL based final year project developed for managing online quizzes with separate user and admin panels. This major project allows users to sign up, log in, recover passwords through email, update profile, change password, browse quiz categories, view quiz rules, attempt timed quizzes, answer random questions, review results, and check attempt history. The admin panel allows administrators to log in, view dashboard counts, manage categories, manage quizzes, set quiz time limit, set passing percentage, add questions, edit questions, delete questions, bulk import questions through CSV, manage users, activate/deactivate users, reset user passwords, view attempts, view attempt details, configure site settings, and create database backups. This Online Quiz System source code is suitable for students who need a final year project, major project, minor project, source code, and project report based on Python, Flask, MySQL, and web application development.
Ready to download?Pay once · Use for submission & viva
Modules and controls available to administrators
What end users can do in this application
Additional capabilities included in the project
Database initialization through:
python database.py
Environment variables:
MYSQL_HOST=localhost
MYSQL_USER=root
MYSQL_PASSWORD=your_password
MYSQL_DB=online_quiz_db
[email protected]
MAIL_PASSWORD=your_app_password
After running:
python seed_data.py
The system creates:
Sample categories include:
Online Quiz/
├── app.py
├── config.py
├── database.py
├── seed_data.py
├── models.py
├── extensions.py
├── routes/
│ ├── main.py
│ ├── auth.py
│ ├── user.py
│ ├── quiz.py
│ └── admin.py
├── templates/
├── static/
│ ├── css/
│ └── js/
└── requirements.txt
Important files:
app.py — main application filerun.py — alternative application runnerconfig.py — application and environment configurationdatabase.py — MySQL schema initializationseed_data.py — dummy data creationmodels.py — user and admin modelsextensions.py — MySQL extension setuproutes/ — blueprint route modulestemplates/ — Jinja2 frontend templatesstatic/ — CSS and JavaScript filesrequirements.txt — dependency listStep-by-step setup on your laptop or PC
Open terminal in the project folder:
cd "Online Quiz"
Install dependencies:
pip install -r requirements.txt
Copy environment example file:
copy .env.example .env
Add MySQL credentials in .env:
MYSQL_HOST=localhost
MYSQL_USER=root
MYSQL_PASSWORD=your_password
MYSQL_DB=online_quiz_db
Add Gmail credentials for forgot password:
[email protected]
MAIL_PASSWORD=your_app_password
Initialize database:
python database.py
Optional: seed dummy data:
python seed_data.py
Run the application:
python run.py
Alternative run command:
python app.py
http://localhost:5000
Default demo accounts for testing after setup
Admin Account
[email protected]admin123Dummy User Accounts
Password for dummy users:
user123
Usage terms for academic and personal projects
Search terms and categories for this source code