# zhanymkanov/fastapi_production_template

FastAPI Template with Docker, Postgres

Repository: https://github.com/zhanymkanov/fastapi_production_template
Canonical: https://ross.abutalabs.com/products/fastapi_production_template
Language: Python
License: Unlicense
License Family: permissive
Topics: fastapi
Last push: 2026-03-19T08:04:44+00:00

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

## Adoption (not part of the score)
Stars 1260, forks 168 (observed 2026-08-28T04:04:09.979897+00:00)

## What it is
A production-oriented FastAPI project template with Docker, PostgreSQL, async SQLAlchemy, Alembic migrations, and preconfigured linting and deployment tooling. It provides shortcut scripts via `just` for local development, migrations, and linting.

## Use cases
- start a new fastapi project with production setup
- fastapi template with docker and postgres
- set up async sqlalchemy with alembic migrations
- configure gunicorn and dockerfile for fastapi deployment
- bootstrap fastapi project with ruff linting
- fastapi project skeleton with sentry and  logging

## When to choose
- starting a new FastAPI backend from scratch
- you want a battle-tested production setup with Docker, Postgres, and migrations
- you prefer Poetry, just, and ruff tooling preconfigured

## When to avoid
- you use a different web framework like Django or Flask
- you need a full application with business logic rather than a starting skeleton
- you don't use PostgreSQL or SQLAlchemy

## Facets
- artifact type: learning-resource
- maturity: active
- function: web-framework, orm, database, logging, deployment, developer-tools, cli
- domain: web-development, backend, developer-tools, apis
- platform: python, self-hosted, cross-platform
- tags: fastapi, sqlalchemy, alembic, postgres, gunicorn, uvicorn, poetry, just, ruff, sentry, project-template, docker-compose, boilerplate, docker

## Member repositories
- zhanymkanov/fastapi_production_template (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:09.979897+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:33:19.477996+00:00, confidence not recorded.
  - readme: https://github.com/zhanymkanov/fastapi_production_template (fetched 2026-08-28T04:04:09.979897+00:00, sha 9fc28967bb5d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
