This projects create simple login/registration application.This project make use of python,flask,mysql.
- Clone this repository.
- From the root of the project run
pip install -r requirements.txt
- Copy the sql data from
db_scripts/data.sql
and paste it into MySQL Workbench and execute the queries. - Open app.py in an editor and edit the below settings as per your enviornment.
app.config['MYSQL_HOST'] = 'localhost'
app.config['MYSQL_USER'] = 'root'
app.config['MYSQL_PASSWORD'] = ''
app.config['MYSQL_DB'] = 'loginapp'
- From the project root run
python app.py
- Load
http://localhost:5000
on your browser. You should see a login page.
- Python 2.7 should be installed.
- MySQL database should be installed.