Skip to content

modern-python/litestar-sqlalchemy-template

Repository files navigation

Async template on Starlite and SQLAlchemy 1.4

GitHub issues GitHub forks GitHub stars GitHub license

Description

Production-ready dockerized async REST API on Starlite with SQLAlchemy and PostgreSQL

Key Features

  • 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 and black
  • Alembic for DB migrations
  • CI with Github

After git clone run

make help

Prepare virtual environment

python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install pip-tools

About

Dockerized web application on Starlite, SQLAlchemy1.4, PostgreSQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published