# FastAPI SaaS Starter

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

https://topboilerplates.com/fastapi-saas-starter

Framework: FastAPI | Pricing: Free | GitHub stars: 25

## Verdict

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.

## Description

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 and cons

+ 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

- 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-included
- social-login
- subscriptions
- payments-included
- background-jobs
- webhooks-outbound

## Stack

- Postgres
- Stripe
- Python
- Redis

## Links

- Website: https://topboilerplates.com/go/fastapi-saas-starter
- GitHub: https://github.com/mahmoudsamy7729/fastapi-saas-starter

## Alternatives

- [IndieKit](https://topboilerplates.com/indiekit)
- [Carrot Seed](https://topboilerplates.com/carrot-seed)
- [ShipFast](https://topboilerplates.com/shipfast)
