A Flask-Sandboy template for cookiecutter.
pip install cookiecutter
cookiecutter https://github.com/opyate/cookiecutter-flask-sandboy.git
You will be asked about your basic info (name, project name, app name, etc.). This info will be used in your new project.
- Flask-Sandboy for quick REST on your models
- Flask-SQLAlchemy with basic model
- Easy database migrations with Flask-Migrate
- Procfile for deploying to a PaaS (e.g. Heroku)
- One-click deploy for Heroku
- pytest and Factory-Boy for testing (example tests included)
- A simple
manage.py
script. - Caching using Flask-Cache
- Utilizes best practices: Blueprints and Application Factory patterns
This template has the following opinions:
- the test database must be the same as the development database must be the same as the production database
- cookiecutter-flask
- My fork of sandboy
MIT licensed.
- Add extra model to show relations
- First iteration
- Sandboy integration
- Working demo model