Starter Template

FastAPI + SQLAlchemy REST API

A FastAPI project with SQLAlchemy 2.0 async ORM, Pydantic v2 schemas, Alembic migrations, and pytest for building async REST APIs with automatic OpenAPI docs.

  • FastAPI
  • SQLAlchemy
  • Pydantic
  • Alembic

Use Case

Best for async Python REST APIs needing SQLAlchemy 2.0, Pydantic validation, Alembic migrations, and auto-generated OpenAPI documentation.


Quick Start

pip install fastapi[all] && fastapi new my-project