topboilerplates.com

FastAPI-boilerplate (Fastro)

Async FastAPI backend starter with auth, caching, rate-limits and background jobs

FastAPI-boilerplate (Fastro)Check FastAPI-boilerplate (Fastro)
FastAPI-boilerplate (Fastro)
Best for
Teams who want a clean, hackable async FastAPI backend with auth, jobs, and caching already wired, without paying for a full SaaS bundle.
Skip if
You need Stripe billing, entitlements, or a bundled frontend out of the box - that's the paid FastroAI tier, not this repo.

Fastro is Benav Labs' open-source FastAPI foundation built on SQLAlchemy 2.0 and Pydantic v2. It ships server-side session auth with OAuth and API keys, FastCRUD-powered generics, a SQLAdmin panel, Taskiq background workers, and Redis/Memcached caching, all wired through a plugin-ready CLI for compose scaffolding and env audits. A paid sibling product, FastroAI, layers Stripe billing and an AI agent stack on top for teams that want a complete SaaS rather than just the backend foundation.

Pros

  • Fully async stack (FastAPI + SQLAlchemy 2.0 + Pydantic v2) with sensible, opt-out defaults
  • Background jobs (Taskiq), caching, and per-tier rate limiting included, not bolted on
  • Actively maintained with 2000+ GitHub stars and a plugin-ready CLI for scaffolding

Cons

  • No payments, entitlements, or frontend - purely a backend foundation
  • JWT auth isn't included in the free tier (only in the paid FastroAI variant)
  • Requires uv workspace familiarity to get the most out of the CLI tooling

Features

Auth and access

  • Auth included
  • Social login

What's in the box

  • Admin dashboard
  • API routes

Data and infra

  • Background jobs
  • Rate limiting
  • Caching
  • Migrations

Licensing and commercial

  • Open source
  • Free tier
  • MIT licensed