Check it out Live NOTE: USER: kinshuk PASSWORD: a
A simple and elegant quiz application built using Django, Jinja templates, Tailwind CSS, and SQLite. This app allows users to answer questions and view their results in a clean, professional interface.
- Backend: Django
- Templating: Jinja Templates (built into Django)
- Frontend: Tailwind CSS
- Database: SQLite
The choice for tailwindcss and sqlite db was made becuase they are fast and flexible. A SQLite DB doesnt require a server setup and tailwindcss is plug and play.
Follow these steps to set up the project locally:
-
Clone the Repository
git clone https://github.com/kinshuksinghbist/Conceptile_Quiz_App.git cd quiz-app
-
Set Up a Virtual Environment
python -m venv venv source venv/bin/activate # For Linux/Mac venv\Scripts\activate # For Windows
-
Install Dependencies
pip install -r requirements.txt
-
Apply Migrations
python manage.py migrate
-
Run the Development Server
python manage.py runserver
-
Run the x.py script, if using new instance of DB or connceting another DB engine
python manage.py x
-
New User Generation:
- While there is one superuser configured right now, enabling sign up funcitonality would be a big plus
-
Changing the DB engine to something like POSTGRESQL for more robust scaling:
-
Django could be configured with NextJS for more flexbility and better UI:
This Quiz App demonstrates a clean architecture with Django as the backend, Jinja templates for rendering, and Tailwind CSS for modern UI styling. SQLite ensures simplicity and ease of use during development.