Flask web application with user authentication guided by Digital Ocean's tutorial.
- Flask
- Flask-Login
- Flask Blueprints
- SQL-Alchemy
- Psycopg2
- PostgreSQL
- Start virtual environment
source venv/bin/activate
or create a virtual environment and pip install requirements.txt - Create a postgres database with the
user
table and connect with database URI - Set the
FLASK_APP
andFLASK_DEBUG
values in terminal- export
FLASK_APP=project
- export
FLASK_DEBUG=1
- export
- Run application with
flask run
- Stop application with
CTRL + C