flask-login-example/README.md

56 lines
1.2 KiB
Markdown
Raw Normal View History

2017-05-18 18:53:23 +02:00
# Flask Example: Login, Signup and Forgot password
[DEMO](http://flask-login-example.programadorwebvalencia.com)
![login](https://github.com/tanrax/flask-login-example/raw/master/screenshots/login.jpg)
## 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
```bash
cp envExample .env
```
Configure variables. Next.
```bash
source .env
pip install -r requirements.txt
```
Create database.
```bash
python3 models.py db upgrade
```
## Run
```bash
python3 app.py
```
## Screenshots
![signup](https://github.com/tanrax/flask-login-example/raw/master/screenshots/signup.jpg)
![message](https://github.com/tanrax/flask-login-example/raw/master/screenshots/message.jpg)
![forgot](https://github.com/tanrax/flask-login-example/raw/master/screenshots/forgot.jpg)
![email](https://github.com/tanrax/flask-login-example/raw/master/screenshots/email.jpg)
![dashboard](https://github.com/tanrax/flask-login-example/raw/master/screenshots/dashboard.jpg)