Skip to content

Subhransu-De/FastAPI-Template

Repository files navigation

FastAPI Template

FastAPI Pydantic SQLAlchemy Alembic

Build Status


Installation

uv sync
cp .env.example .env

Dependency Updates

This template includes both Renovate and Dependabot configurations. They intentionally mirror each other as much as possible so forked projects can use whichever dependency update bot fits their workflow.


Running the Application

Development Mode

uv run --env-file .env python -m app.main --reload

Docker-Based Development

docker compose up --build

About

An opinionated FastAPI template with async SQLAlchemy 2.0, Alembic migrations, Pydantic v2, uv package manager, Docker, pytest, and pre-configured CI/CD. Python 3.13+ boilerplate for building REST APIs.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages