An open API service indexing awesome lists of open source software.

https://github.com/gmaze/flask-template-login

Authentication with Flask-Login
https://github.com/gmaze/flask-template-login

flask login template

Last synced: about 1 year ago
JSON representation

Authentication with Flask-Login

Awesome Lists containing this project

README

          

# Flask-app template: Authentication with Flask-Login

Largely inspired by https://www.digitalocean.com/community/tutorials/how-to-add-authentication-to-your-app-with-flask-login with bug fixes

# Installation

```bash
mamba env create -f environment.yml
```

```python
from webapp import db, create_app, models
app = create_app()
with app.app_context():
db.create_all()
```

```bash
flask --app webapp routes
flask --app webapp run
```