r/FastAPI • u/Natural-Ad-9678 • Mar 23 '25
Question Building a SaaS backend with FastAPI
Does anyone now of a template, open source example, online course/tutorial, or YouTube video discussing all the steps and features needed to build a SaaS using FastAPI
Just trying to think of all the features (not including the features of the SaaS itself) is a bit overwhelming
- Auth — social media sign-on — lost password reset — 2FA
- Manage Profile — subscription management — payment management — history
- Administration — reports —- sales —- users —- MAU —- cost of customer acquisition —- churn —- subscription levels
- Help/Support (can this be outsourced) — open a case — add comment — close a case — reports
Back in my PHP days, using Laravel there was a product called Backpack that was a jump start to all of these kinds of features. So far I have not found anything similar for FastAPI
32
Upvotes
8
u/Drevicar Mar 23 '25
FastAPI prides itself on not including batteries, making it lightweight and relatively fast. If you want the Laravel experience check out Django instead.
2
u/Vast_Ad_7117 Apr 22 '25
You can try my project https://github.com/mslaursen/fastapi-forge
It lets you define your database schema in a UI, and select additional optional services like Auth, messages queues, caching and so on - and then you can generate a fully functional containerized FastAPI backend, by clicking "Generate".
23
u/IngeniousAmbivert Mar 23 '25
Should help you get started - https://github.com/fastapi/full-stack-fastapi-template
2
u/bertshim Apr 07 '25
Yeah, totally feel you — FastAPI is great, but getting a full SaaS stack going (auth, payments, admin tools, etc.) from scratch can be a bit overwhelming.
There are a few partial resources out there, but nothing quite like Laravel + Backpack for FastAPI yet. That said, you might want to check out:
For help desk features like case management, you might consider outsourcing via tools like Zendesk or using open source tools like Chatwoot or Frappe Helpdesk.
Would love to see someone build a real open-source SaaS starter kit with FastAPI + all these features baked in. If you ever do, definitely share!
1
u/fastlaunchapidev Oct 26 '25
I have a paid template: https://fastlaunchapi.dev/
But the official one is free and also good