X-LaunchKit-Version:2.0.0 · FastAPI · Python 3.11+

Login is the easy part.
This is the rest.

A production FastAPI backend with multi-tenant teams, TOTP 2FA, Google & GitHub login, usage quotas, and signed customer webhooks — the features every B2B customer asks for and every $99 starter skips.

40endpoints
22 ✓passing tests
12data models
2 minto first run
X-LaunchKit-Section:api-explorer

Every response below is real.

No video, no mockups. These are the actual endpoints and the actual JSON LaunchKit Pro returns. Click around — this is what you're buying.

X-LaunchKit-Section:modules

Ten modules. Zero "exercise left to the reader."

Each one is wired end to end — models, routes, dependencies, and tests — not a TODO comment.

Authentication

JWT access tokens plus rotating single-use refresh tokens — a stolen refresh token dies on first reuse. Email verification, forgot/reset password, all audit-logged.

Two-factor auth

TOTP with QR provisioning for Google Authenticator and Authy. Eight hashed single-use recovery codes. Login returns a 5-minute challenge_token instead of credentials.

Teams & RBAC

Organizations with owner / admin / member roles, 7-day email invitations, and a one-line require_role("admin") dependency to gate any route you write.

Social login

Google and GitHub OAuth with signed state tokens, automatic account creation and linking, and GitHub's private-email edge case handled for you.

API keys

Issue and revoke keys for programmatic access. SHA-256 hashed at rest — a database leak leaks nothing. Last-used tracking and an X-API-Key auth dependency included.

Usage metering

Per-plan monthly quotas with 402 enforcement and a /usage/me endpoint. Sell usage-based pricing on day one instead of bolting it on at month six.

Customer webhooks

Your users register endpoints; deliveries carry an HMAC signature in Stripe's exact t=,v1= scheme, retry three times, and land in an inspectable delivery log.

Stripe billing

Subscription checkout, customer portal, and signature-verified idempotent webhooks that keep user.plan in sync automatically — duplicates are detected and dropped.

Audit logs

Logins, 2FA changes, and team events recorded with IP automatically. Users see their own history; admins query everything. Add yours with one audit() call.

Production infra

Per-IP rate limiting (Redis-ready), request-ID tracing on every response, DB-checked health endpoint, Docker Compose, and GitHub Actions CI on Python 3.11 + 3.12.

X-LaunchKit-Section:code

The code you'd otherwise write for three months.

Three flows that separate a starter from a product — exactly as they ship in the box.

# one dependency = full RBAC. member < admin < owner @router.delete("/projects/{project_id}") async def delete_project( project_id: int, membership: Membership = Depends(require_role("admin")), db: AsyncSession = Depends(get_db), ): # a plain member hitting this gets 403 before your code runs ...
# plan quotas enforced in one line. over quota → 402 + upgrade message @router.get("/reports") async def generate_report( user: User = Depends(get_user_from_api_key), db: AsyncSession = Depends(get_db), ): await track_and_enforce(db, user) # free: 1k/mo · pro: 50k · business: 500k return build_report(user)
# your users get Stripe-grade webhooks. HMAC-signed, retried 3x, logged await dispatch_event(user.id, "order.created", {"order_id": order.id}) # every delivery carries: # X-LaunchKit-Signature: t=1781169766,v1=9f3ac41e8b... # and a verify helper ships for the receiving side: verify_webhook_signature(secret, body, header) # → True
X-LaunchKit-Section:comparison

There was no premium FastAPI option. Now there is.

The features below only existed together in Django boilerplates priced up to $999. In FastAPI, they didn't exist at any price.

Capability LaunchKit Pro Typical $99 FastAPI kit ShipFast (Next.js) SaaS Pegasus (Django)
Teams + role-based access✓ owner/admin/member
TOTP 2FA + recovery codes
Google / GitHub loginsometimes
Usage quotas / metering✓ per-plan, 402 enforcedpartial
Signed customer webhooks✓ Stripe-style HMAC
Stripe subscriptions✓ idempotent webhooksbasic
Audit logging✓ with IPpartial
Async-first Python✓ SQLAlchemy 2.0variesn/async core
Test suite included✓ 22 integration testsrare
Price$399 launch~$99$199$249–$999

Comparison based on publicly listed features as of mid-2026. ShipFast and SaaS Pegasus are excellent products in their own stacks — they're just not FastAPI.

X-LaunchKit-Section:pricing

One payment. Unlimited products.

Commercial license: build as many products and client projects as you want. One license per team. No subscriptions, no per-project fees.

Starter

For a weekend project that needs solid auth
$199one-time
  • JWT auth + refresh rotation
  • Email verify & password reset
  • API keys, hashed at rest
  • Stripe subscriptions
  • Rate limiting + Docker
  • 10 integration tests
  • Teams, 2FA, OAuth, metering, webhooks
Get Starter
X-LaunchKit-Section:faq

Questions developers actually ask

Is there a frontend included?
No — and that's deliberate. LaunchKit Pro is a pure backend consumed by any React, Next.js, mobile, or CLI client. You keep full control of your UI instead of fighting someone else's component library.
How fast can I actually run it?
Three commands: pip install -r requirements.txt, copy .env.example, start uvicorn. SQLite works out of the box, so there's no database to set up for development. Interactive docs are live at /docs in under two minutes.
How do I know the code is solid?
Run pytest before you write a single line — 22 integration tests cover the full 2FA login flow, RBAC enforcement, quota exhaustion, refresh-token rotation, and webhook signature verification against a mock receiver. CI runs ruff and the suite on Python 3.11 and 3.12.
What does the license allow?
Unlimited personal, commercial, and client projects, forever. The only restriction: you can't resell or redistribute the boilerplate itself as a competing starter kit. One license per team.
Where can I deploy it?
Anywhere Python runs: Railway, Render, and Fly.io are one-command deploys (documented), and Docker Compose with Postgres 16 and Redis 7 is included for everything else.
What about updates and support?
Dependency bumps and fixes are included — buyers download the updated package. Bug reports get an email response within 48 hours.
Refunds?
Source code is final-sale once downloaded, which is standard for code products. That's exactly why this page shows you the real endpoints, the real responses, and the real test count before you pay.

Your product idea is waiting
behind three months of plumbing.

Skip to the part only you can build.

Get LaunchKit Pro — $399
X-LaunchKit-Signature: t=now,v1=verified · 22 tests passing