gpkc / fastapi-sqlalchemy-pytest

Repository containing sample code for running FastAPI and SQLAlchemy 2.0 together with pytest
45 stars 3 forks source link

FastAPI + SQLAlchemy2.0

This is a sample project to show how to use FastAPI with async SQLAlchemy2.0. It also includes a simple example of how to use Alembic to manage database migrations.

Companion blog post

FastAPI + SQLAlchemy2.0