API Starter
This is a simple starter for HTTP JSON API.
Main Stack:
- Web Framework: Flask
- ORM: SQLAlchemy
- Database: PostgreSQL
- Others:
- alembic for database migration
- marshmallow for json serialization, deserialization and validation
- py.test for testing
- dotenv sample: see .env.sample
- new dotenv for multiple environments, e.g.:
.env.development
- export environments:
export PYTHONPATH=.
- run app:
./manage.py runserver
- run tests:
./run_tests.sh