- This project is simple implementation Login Registration flow in Flask-MySQL.
Module Name | Usage in Application |
---|---|
Flask | Web Framework to create Application |
Flask-Login | User Session Management in Flask |
Flask-SQLAlchemy | Adding support of SQLAlchemy into application |
Flask-WTF | provide the interactive user interface for the user |
SQLAlchemy | Provide ORM and full power and flexibility of SQL |
Werkzeug | For hashing and checking password |
WTForms | flexible forms validation and rendering |
- Install all the dependancies using requirements.txt file...
pip install requirements.txt
- setting flask application in Windows
set FLASK_APP=app.py
set FLASK_DEBUG=1
- setting flask application in Unix
export FLASK_APP=app.py
export FLASK_DEBUG=1
- After setting flask application, To run application use below command
flask run --port=8080
--port
is optional
- D H R U V P R A J A P A T I