A Simple Authentication System Project with basic user functionality in Python Flask with SQLAlchemy.
- Create account
- Log In via (Username & Email address)
- Logout
- Account activation via email
- Reset password via reset link
- Reset new email via confirmation link
- Update profile & add image
- Change password after login
git clone https://github.com/anuraagnagar/flask-user-authentication.git
cd flask-user-authentication
python3 -m venv venv
On Windows
venv\scripts\activate
On MacOS/Linux
source venv/bin/activate
To run this project locally, you will need to change .env.example
file to .env
on base directory
and set environment variables.
pip install -r requirements.txt
Initialize the database migration directory.
flask db init
Run migrate command.
flask db migrate -m "initial_migration"
Upgrade the database for latest migration.
flask db upgrade
flask run
To access this application open http://localhost:5000
in your web browser.
Contributions are welcome! If you find a bug or want to add a new feature, please open an issue or submit a pull request. For more information checkout
By contributing to this project, you agree that your contributions will be licensed under the .