https://github.com/ankulmaurya88/django-quiz-app
A web-based quiz platform with user login, timed questions, auto scoring, and an admin panel โ built using Django.
https://github.com/ankulmaurya88/django-quiz-app
django-rest-framework docker docker-compose python3 quiz-application shell-script web-app-education-online-exam
Last synced: 3 months ago
JSON representation
A web-based quiz platform with user login, timed questions, auto scoring, and an admin panel โ built using Django.
- Host: GitHub
- URL: https://github.com/ankulmaurya88/django-quiz-app
- Owner: ankulmaurya88
- Created: 2024-12-21T11:06:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-12T16:58:46.000Z (about 1 year ago)
- Last Synced: 2025-06-12T17:48:22.220Z (about 1 year ago)
- Topics: django-rest-framework, docker, docker-compose, python3, quiz-application, shell-script, web-app-education-online-exam
- Language: Python
- Homepage: https://ankulmaurya.me/django-quiz-app
- Size: 13.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ง Django Quiz App
The **Django Quiz App** is a web-based quiz platform where users can take quizzes, track their scores, and review results. It features a clean UI, user authentication, and admin controls for quiz management. Built using Django and designed with Docker for easy deployment.
๐ **GitHub Repository**
โก๏ธ [https://github.com/ankulmaurya88/Django-Quiz-App.git](https://github.com/ankulmaurya88/Django-Quiz-App.git)
---
## ๐ Table of Contents
- [โจ Features](#-features)
- [๐ธ Screenshots](#-screenshots)
- [๐งช Input & Output](#-input--output)
- [๐งฐ Technologies Used](#-technologies-used)
- [๐ Project Structure](#-project-structure)
- [โ๏ธ Installation Guide](#๏ธ-installation-guide)
- [๐ณ Docker Deployment](#-docker-deployment)
- [๐ Usage](#-usage)
- [๐ License](#-license)
- [๐ค Author](#-author)
---
## โจ Features
โ
User Registration and Login
โ
Multiple Quizzes with Timer and Scoring
โ
Admin Panel for Quiz Management
โ
Real-Time Score Tracking
โ
Responsive and Minimal UI
โ
Docker Support for Easy Deployment
---
## ๐ธ Screenshots
### ๐น Login Page
User authentication for secure access.

---
### ๐น Quiz Interface
Display questions one by one, timer-based interface.

---
### ๐น Score Page
Results displayed after quiz completion with user score.

### ๐น Admin Page
Display Admin Panel.

---
## ๐งช Input & Output
### ๐ Input:
User logs in or signs up and selects a quiz to begin. Each quiz contains multiple-choice questions.
### ๐ค Output:
After quiz submission, the user sees:
| Field | Description |
|---------------|------------------------------|
| Quiz Title | The name of the quiz taken |
| User Score | Total correct answers scored |
| Total Marks | Total number of questions |
| Time Taken | Time spent on the quiz |
---
## ๐งฐ Technologies Used
| Area | Tools and Frameworks |
|-------------|----------------------------------|
| Language | Python 3.8+ |
| Backend | Django |
| Database | SQLite (default), MySql |
| Frontend | HTML, CSS, Bootstrap |
| Deployment | Docker, Docker Compose |
| Web Server | Nginx (optional) |
---
## ๐ Project Structure
Django-Quiz-App/ โโโ manage.py โโโ quiz/ # Main quiz app โ โโโ admin.py โ โโโ models.py โ โโโ views.py โ โโโ urls.py โ โโโ templates/ โโโ users/ # User management โโโ static/ # Static files โโโ templates/ # Base templates โโโ Dockerfile โโโ docker-compose.yml โโโ requirements.txt
---
## โ๏ธ Installation Guide
### ๐ง Prerequisites
- Python 3.8+
- Git
- Virtual Environment (optional but recommended)
### ๐ ๏ธ Steps
```bash
# Clone the repository
git clone https://github.com/ankulmaurya88/Django-Quiz-App.git
cd Django-Quiz-App
# (Optional) Create and activate a virtual environment
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install Python dependencies
pip install -r requirements.txt
# Run migrations
python manage.py migrate
# Create a superuser for admin access
python manage.py createsuperuser
# Run the development server
python manage.py runserver
```
---
## ๐ณ Docker Deployment
---
```bash
# Clone the repo
git clone https://github.com/ankulmaurya88/Django-Quiz-App.git
cd Django-Quiz-App
# Build and deploy with Docker Compose
docker-compose up --build
```
---
### ๐ Usage
Open the app in your browser: http://localhost:8000
Register or login as a user
Choose a quiz and start answering questions
Submit the quiz and view your score
Admins can manage quizzes via the Django admin panel at http://localhost:8000/admin/
---
### ๐ License
This project is licensed under the MIT License โ see the LICENSE file for details.
---
### ๐ค Author
Ankul Maurya
GitHub: @ankulmaurya88
LinkedIn: linkedin.com/in/ankulmaurya