A quiz app where user can create as well as give tests based on Flask micro framework.
- Unique ID to each test
- Test creator can choose to display marks to students or not
- Minimal UI
- Email validation and verification
- Set test timing
pip install -r requirements.txt
Open app.py and setup config
app.config.update(
DEBUG=True,
MAIL_SERVER='smtp.gmail.com',
MAIL_PORT=465,
MAIL_USE_SSL=True,
MAIL_USERNAME = '[email protected]',
MAIL_PASSWORD = 'temp@123'
)
app.config['MYSQL_USER'] = 'username'
app.config['MYSQL_PASSWORD'] = 'password'
Load database
mysql -u username -p flask < data.sql
Run the program using
python3 app.py or flask run