Production-ready dockerized async REST API on Starlite with SQLAlchemy and PostgreSQL
- tests on
pytest
with automatic rollback after each test case - db session stored in Python's
context variable
- separate requirements files for dev and production using
pip-tools
- configs for
mypy
,pylint
,isort
andblack
Alembic
for DB migrations- CI with Github
make help
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install pip-tools