Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/melizeche/flaskusersexample
- Owner: melizeche
- Created: 2016-11-22T06:04:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T20:51:16.000Z (9 months ago)
- Last Synced: 2024-05-07T21:42:38.464Z (9 months ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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