# vargasjona/fastapi-alembic-sqlmodel-async

This is a project template which uses FastAPI, Pydantic 2.0, Alembic and async SQLModel as ORM. It shows a complete async CRUD using authentication and role base access control.

Repository: https://github.com/vargasjona/fastapi-alembic-sqlmodel-async
Canonical: https://ross.abutalabs.com/products/fastapi-alembic-sqlmodel-async
Language: Python
License: MIT
License Family: permissive
Topics: fastapi, sqlmodel, sqlalchemy, alembic, postgresql, asyncio, fastapi-crud, fastapi-async-db, fastapi-sqlmodel, fastapi-pagination, fastapi-cache, fastapi-boilerplate, caddy, docker, docker-compose, pydantic-v2, sqlalchemy2
Last push: 2026-03-09T14:50:35+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 71, release rhythm 35, longevity 100
- inputs: {"age_days": 1641, "days_push": 177, "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 1269, forks 171 (observed 2026-08-28T04:04:11.698568+00:00)

## What it is
A production-oriented FastAPI project template combining async SQLModel as the ORM, Alembic migrations, Pydantic v2, JWT authentication, and role-based access control in a complete async CRUD example. It ships with Docker Compose (including Caddy and PostgreSQL), Celery for background and scheduled tasks, pytest-based automated tests, and code-quality tooling.

## Use cases
- start a new async FastAPI REST API project from a template
- fastapi crud boilerplate with jwt authentication and roles
- async postgres crud api using sqlmodel and alembic migrations
- fastapi project template with docker compose and celery tasks
- role based access control example for fastapi apis
- pydantic v2 and sqlalchemy 2.0 async api starter

## When to choose
- you are starting a new async FastAPI backend from scratch and want auth, RBAC, migrations, and tests prewired
- you want an async PostgreSQL stack built on SQLModel, Pydantic v2, and SQLAlchemy 2.0
- you need a Docker Compose deployment layout with background jobs via Celery
- you want a reference implementation of async CRUD patterns in FastAPI

## When to avoid
- you need an installable library or framework rather than a forkable starter application
- your project uses a synchronous ORM, a database other than PostgreSQL, or a different auth scheme
- you want a minimal microservice without authentication, Celery, or the included tooling
- you are not targeting Python 3.10+ or do not want an opinionated project structure

## Facets
- artifact type: application
- maturity: active
- function: web-framework, api-framework, auth, authorization, orm, database, testing, deployment
- domain: web-development, backend, apis, databases, developer-tools
- platform: python, self-hosted, cross-platform
- tags: fastapi, sqlmodel, alembic, boilerplate, project-template, crud, jwt-authentication, role-based-access-control, celery, pydantic-v2, postgresql, async, docker-compose, caddy, starter-template, docker, web-server

## Member repositories
- vargasjona/fastapi-alembic-sqlmodel-async (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:11.698568+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-30T05:03:34.427623+00:00, confidence not recorded.
  - readme: https://github.com/vargasjona/fastapi-alembic-sqlmodel-async (fetched 2026-08-28T04:04:11.698568+00:00, sha 671474b1788c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
