Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/melizeche/flaskusersexample

Just an Register/Login example in Flask
https://github.com/melizeche/flaskusersexample

Last synced: 3 months ago
JSON representation

Just an Register/Login example in Flask

Awesome Lists containing this project

README

        

# FlaskUsers

Just an Register/Login example in Flask with bcrypt for password hashing

## System requirements
* Python 3.3+
* Virtualenv(Optional)

## Environment requirements
* Flask 0.10+
* bcrypt 3.1+

## Set environment
```
virtualenv -p python3 env
source env/bin/activate
pip install -r requirements.txt
```

## Initialize DB
```
export FLASK_APP=app.py
flask initdb
```

## RUN
```
flask run
```
or
```
python app.py
```

## TODO
* Add SQLAlchemy example
* Better documentation
* Proper templates(css and that kind of fancy stuff)
* Catch more exceptions