https://github.com/den1al/flask-boilerplate
A simple yet comprehensive flask boilerplate
https://github.com/den1al/flask-boilerplate
boilerplate captcha flask python python3
Last synced: 2 months ago
JSON representation
A simple yet comprehensive flask boilerplate
- Host: GitHub
- URL: https://github.com/den1al/flask-boilerplate
- Owner: Den1al
- License: mit
- Created: 2017-11-28T14:58:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:45:45.000Z (over 3 years ago)
- Last Synced: 2025-04-05T02:13:04.037Z (about 1 year ago)
- Topics: boilerplate, captcha, flask, python, python3
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flask Boilerplate
##### Version: 0.1
## Author
[Daniel Abeles](https://twitter.com/Daniel_Abeles)
## About
For a long time I created my Flask applications from scratch or assembled them from
previous pieces of code. Therefore, I created this boilerplate that will be the
codebase for every Flask app that I'll produce in the future. Some of the parts
in this boilerplate are originated from various code bases, therefore they are
credited in the Credits section.
## Features
* Login Management
* Captcha
* API blueprints
* App factory
* Database support
## How-To
To setup the application follow these steps:
### Create a virtual environment
```bash
pyenv virtualenv venv
pyenv activate venv
pip install -r requirements.txt
```
### Configuration
If captcha is desired - please set the following fields in `config.py`:
1. `SHOW_CAPTCHA`
2. `RECAPTCHA_SITE_KEY`
3. `RECAPTCHA_SECRET_KEY`
For more information visit the
[documentation](https://developers.google.com/recaptcha/docs/verify)
### Run
```bash
python manage.py createdb
python manage.py runserver
```
## Credits
1. [Miguel Grinberg](https://github.com/miguelgrinberg)