01 Source Code Only
One-time Payment
- Complete project source code
- Database / data resources
- Dependencies & configuration
- README / setup guide
- Instant download access
Complete final-year project source code with frontend, backend, database and setup documentation. Instant download after secure payment.
Simple pricing. Instant access. Secure checkout.
01 Source Code Only
One-time Payment
02 Code + Setup Support
One-time Payment
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.
Admin Account
[email protected]admin123Dummy User Accounts
Password for dummy users:
user123
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 listOpen 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
Admin Account
[email protected]admin123Dummy User Accounts
Password for dummy users:
user123