Quiz Master - V2
It is a multi-user app (one requires an administrator and other users) that acts as an exam preparation site for multiple courses.
Features
User registration and Admin creation of quizzes
Dashboard for admin to allow creation of subject/chapters/quizzes/questions and dashboard for user to allow to take quizzes
Search functionality for Admin to search for user
Technologies Used
Backend: Flask, SQLAlchemy, Redis, Celery
Frontend: HTML, CSS, Bootstrap
Database: SQLite
Libraries: JWT for security, ChartJS for data visualization
Installation
Clone the repository:
git clone https://github.com/jaiswalvik/MAD-2-HouseholdServiceApp.git
cd MAD-2-QuizMaster-V2
Create a virtual environment:
python3 -m venv env
source env/bin/activate
Install the required packages:
pip install -r requirements.txt
Run the application
python3 app.py
Install Redis: https://redis.io/docs/latest/operate/oss_and_stack/install/install-redis/
Run Redis:
redis-server
redis-cli
sudo systemctl stop redis
or
sudo lsof -i :6379
sudo kill 2739
sudo kill -9 2739
Run Celery worker in another window:
celery -A app.celery worker --loglevel INFO
Run Celery beat in another window:
celery -A app.celery beat --loglevel INFO
Running mailhog:
in linux terminal
ls -l /usr/local/bin/mailHog
MailHog
localhost:8025