# teamhide/fastapi-boilerplate

FastAPI boilerplate for real world production

Repository: https://github.com/teamhide/fastapi-boilerplate
Canonical: https://ross.abutalabs.com/products/teamhide-fastapi-boilerplate
Language: Python
License Family: other
Topics: fastapi, python, boilerplate, api, sqlalchemy, asyncio, fastapi-template, fastapi-boilerplate, sqlalchemy-async
Last push: 2026-05-08T13:32:41+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 81, release rhythm 35, longevity 100
- inputs: {"age_days": 2358, "days_push": 117, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1492, forks 216 (observed 2026-08-28T04:04:52.707293+00:00)

## What it is
A production-oriented FastAPI boilerplate providing async SQLAlchemy sessions, JWT-based custom user authentication, permission dependencies, Celery, caching, event dispatching, and Dockerized hot-reload setup. It serves as a starter template for building real-world async Python APIs.

## Use cases
- bootstrap a production FastAPI project
- set up async SQLAlchemy with transactions in FastAPI
- add JWT authentication to a FastAPI app
- configure role-based permissions in FastAPI endpoints
- dockerize a FastAPI app with hot reload
- integrate Celery and caching into a FastAPI service
- configure reader/writer database splitting

## When to choose
- starting a new async Python REST API from scratch
- you want batteries-included auth, permissions, and DB session management
- you need a Docker-based dev environment with hot reload

## When to avoid
- you need a minimal FastAPI setup without opinionated structure
- your stack is not Python/FastAPI
- you require a project with an explicit open-source license for commercial use

## Facets
- artifact type: learning-resource
- maturity: active
- function: web-framework, orm, auth, caching, middleware, database
- domain: web-development, backend, developer-tools, apis
- platform: python, self-hosted
- tags: fastapi, sqlalchemy-async, celery, jwt-authentication, project-template, asyncio, alembic, boilerplate, docker

## Member repositories
- teamhide/fastapi-boilerplate (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:52.707293+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-30T08:32:47.708956+00:00, confidence not recorded.
  - readme: https://github.com/teamhide/fastapi-boilerplate (fetched 2026-08-28T04:04:52.707293+00:00, sha 9fabbaa110cd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
