Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.01 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.01 KB

Quiz App Flask

A quiz app where user can create as well as give tests based on Flask micro framework.

Features

  1. Unique ID to each test
  2. Test creator can choose to display marks to students or not
  3. Minimal UI
  4. Email validation and verification
  5. Set test timing

Screenshots

Index

Dashboard

Installation

pip install -r requirements.txt

Usage

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

License

MIT