Best Flask open-source libraries and packages

FlaskUserAuthSystem

Flask user login web application using SQLAlchemy, SQLite, Flask-WTF, Flask-Login and Poetry. All web-forms include CSRF protection
Updated 1 year ago

Flask User Authentication System

GitHub Workflow Status GitHub repo size GitHub License GitHub commit activity

Setting up

To set up the application, you need to have Python 3.11 and Poetry installed on your system.

After installing Python and Poetry, you need to clone the repository.

git clone https://github.com/LagrangeH/FlaskUserAuthSystem.git

After cloning the repository, you need to change the directory.

cd FlaskUserAuthSystem/

After cloning the repository, you need to create .env-file and pass the environment variables.

cp src/flaskuserauthsystem/envs/.env.dist src/flaskuserauthsystem/envs/.env

Then pass these environment variables to .env-file in src/flaskuserauthsystem/envs/.

FLASK_DEBUG=false
FLASK_TEST=false
SQLALCHEMY_DATABASE_URI=sqlite:///main.db
RECAPTCHA_PUBLIC_KEY=
RECAPTCHA_PRIVATE_KEY=

After passing environment variables, you need to create virtual environment.

poetry env use python3.11

After creating the virtual environment, you need to install the dependencies.

poetry install

After installing the dependencies, you need to run the application.

poetry run flask run