A starter-kit for a RESTful API built with Flask.
- Support for multiple endpoint versions (useful for long-lived APIs)
- Schema changes managed by Alembic and run automatically as part of unit tests
- Multiple configurations (testing, staging, production, etc...)
- Basic Postgres configuration with a schema, API user, and migrations user
- All DB migrations are run before every unit-test; ensures migrations are working
flask-api-starter is mostly plumbing, all credit should go to the excellent packages it builds on:
- REST API: flask-restful
- POST validation and ORM mapping: WTForms-JSON and WTForms-Alchemy
- Database migrations: Alembic
- Testing fixtures: factory_boy
- Web framework: Flask
- ORM: SQLAlchemy