Flask Example: Login, Signup and Forgot password
migrations | ||
screenshots | ||
static | ||
templates | ||
.gitignore | ||
app.py | ||
envExample | ||
forms.py | ||
models.py | ||
README.md | ||
requirements.txt |
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