1.2 KiB
1.2 KiB
Flask Example: Login, Signup and Forgot password
Description
- Login system.
- Signup.
- Forgot password.
- Validations.
- Private page only for registered users.
- System emails.
Use
- Flask (Obvious!)
- Flask-SQLAlchemy (ORM for database)
- Flask-WTF (Generation of forms and validations)
- Flask-Migrate(Migratios)
- Flask-Mail(Send emails)
Install
cp envExample .env
Configure variables. Next.
source .env
pip install -r requirements.txt
Create database.
python3 models.py db upgrade
Run
python3 app.py