# s3rius/FastAPI-template

Feature rich robust FastAPI template.

Repository: https://github.com/s3rius/FastAPI-template
Canonical: https://ross.abutalabs.com/products/fastapi-template
Language: Python
License: MIT
License Family: permissive
Topics: fastapi, cookiecutter, cookiecutter-template, cookiecutter-python3, sqlalchemy-orm, asynchronous, ormar, tortoise-orm, aerich, alembic, python3, asyncio, graphql, strawberry-graphql, opentelemetry, prometheus, sentry, fastapi-template, fastapi-boilerplate
Last push: 2026-05-05T15:42:08+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 80, release rhythm 82, longevity 100
- inputs: {"age_days": 2158, "days_push": 120, "days_rel": 120, "gap_med": 12, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2823, forks 239 (observed 2026-08-28T04:07:24.109307+00:00)

## What it is
A feature-rich, highly configurable project generator (published as fastapi_template on PyPI) that scaffolds production-ready FastAPI applications via an interactive TUI or CLI. It supports multiple databases and ORMs (SQLAlchemy 2.0, TortoiseORM, Piccolo, Ormar, Beanie), REST or GraphQL APIs, and optional integrations like Redis, RabbitMQ, Prometheus, Sentry, OpenTelemetry, and CI/CD.

## Use cases
- scaffold a new FastAPI project with docker-compose
- generate a FastAPI app with SQLAlchemy and Alembic migrations
- create a FastAPI GraphQL service with Strawberry
- bootstrap an async Python API with Redis and RabbitMQ
- generate a FastAPI template with Prometheus and OpenTelemetry monitoring
- start a FastAPI project with pre-commit and tests included

## When to choose
- starting a new FastAPI backend from scratch and wanting batteries included
- you want to pick your own ORM, database, and API style at generation time
- you need observability (Prometheus, Sentry, OpenTelemetry) wired up out of the box
- you want generated tests, pre-commit hooks, and CI/CD in a new project

## When to avoid
- you already have an existing FastAPI codebase to extend
- you want a minimal unopinionated starter without generated boilerplate
- your stack is not Python/FastAPI

## Facets
- artifact type: cli-tool
- maturity: active
- function: boilerplate, cli, web-framework, developer-tools
- domain: web-development, backend, developer-tools, apis
- platform: python, cli, cross-platform
- tags: fastapi, cookiecutter, project-generator, scaffolding, async, sqlalchemy, tortoise-orm, alembic, graphql, rest-api, prometheus, opentelemetry, sentry, redis, rabbitmq, taskiq, docker

## Member repositories
- s3rius/FastAPI-template (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:24.109307+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:38:17.561036+00:00, confidence not recorded.
  - readme: https://github.com/s3rius/FastAPI-template (fetched 2026-08-28T04:07:24.109307+00:00, sha 3f3db67e7e72)
  - registry_pypi: https://pypi.org/pypi/fastapi-template/json (fetched 2026-08-29T09:53:40.600240+00:00, sha 9a366a8ea24e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
