Skip to content

Dockerized web application with DI on FastAPI, sqlalchemy2, PostgreSQL

License

Notifications You must be signed in to change notification settings

modern-python/fastapi-sqlalchemy-template

Repository files navigation

Async template on FastAPI and SQLAlchemy 2

GitHub issues GitHub forks GitHub stars GitHub license

Description

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

Key Features

  • tests on pytest with automatic rollback after each test case
  • IOC (Inversion of Control) container built on that-depends - my DI framework
  • Linting and formatting using ruff and mypy
  • Alembic for DB migrations

After git clone run

task -l  # list of tasks with descriptions