topboilerplates.com

FastAPI SaaS Starter

A FastAPI backend for SaaS: auth, Stripe billing, and background jobs, ready to build on

FastAPI SaaS StarterCheck FastAPI SaaS Starter
FastAPI SaaS Starter
Best for
Backend-focused teams who want a FastAPI SaaS API with auth and Stripe billing already wired up, bring-your-own frontend.
Skip if
You want a full-stack starter with a frontend included - this is backend/API only.

A backend-only SaaS starter built on FastAPI with async SQLAlchemy and Postgres. It ships local and social login (Google, GitHub), email verification and OTP flows, refresh token rotation, and a Stripe integration covering checkout, subscriptions, and webhook handling. Celery with Redis powers background jobs like transactional email and subscription upkeep.

Pros

  • Async SQLAlchemy + Postgres with a clean service/repository architecture
  • Stripe checkout, subscriptions, and webhooks already implemented
  • Celery + Redis background jobs for email and subscription tasks
  • Docker Compose included for local dev

Cons

  • No frontend - API only, you build the UI yourself
  • Small project with limited community (25 stars), so support is mostly self-serve
  • No documented test coverage or CI visible

Features

Auth and access

  • Auth included
  • Social login

Payments and billing

  • Payments included
  • Subscriptions

What's in the box

  • Outbound webhooks

Data and infra

  • Background jobs