Django SaaS Starter Kits

Ship Your SaaS
This Weekend

Clone it. Configure your .env. Run docker compose up. Auth, billing, email, multi-tenancy, tests — already wired. You write the product, not the plumbing.

getting-started.sh
$ cp .env.example .env
$ docker compose up --build
Creating network... done
Building web service... done
Running migrations... done
JWT auth Stripe billing
Organizations Email system
91 tests Docker ready
http://localhost:8000
91+ Tests passing
2 Billing models
100% Source code
0 Vendor lock-in

Why a starter kit

Skip 120+ hours of boilerplate

Every feature is production-tested and ready to customize. Here's what you're not building from scratch.

~20h

Authentication

JWT with refresh tokens, Google OAuth, password reset, email verification, and permission system.

~25h

Stripe Billing

Subscriptions or credit packs, webhook handling, payment receipts, and customer portal integration.

~20h

Multi-Tenancy

Organizations with Owner/Admin/Member roles, team invitations with expiry, and scoped data access.

~10h

Email System

Switchable Mailgun/SendGrid providers, transactional templates, welcome emails, and purchase receipts.

~15h

Test Suite

91 tests with pytest and factory-boy covering auth, billing, organizations, invitations, and more.

~15h

Docker & Deployment

Docker Compose for dev and production, CI/CD workflows, and deployment guides for VPS and cloud.

Built with

Django 5 PostgreSQL Redis Celery Stripe Docker pytest

What's inside

Production code. Not a tutorial.

Real patterns from shipped products. Webhook handlers, atomic billing, role-based access — the stuff tutorials skip.

billing/models.py Atomic credit deduction
def deduct_credits(self, amount):
# Race-safe with F() expressions
updated = Organization.objects.filter(
pk=self.pk,
credit_balance__gte=amount
).update(
credit_balance=F("credit_balance") - amount
)
if not updated:
raise InsufficientCredits()
Project structure
saas-kit/
├─ users/
├─ billing/
├─ orgs/
├─ notifications/
├─ jobs/
├─ tests/
├─ docker-compose.yml
├─ .env.example
└─ manage.py

Authentication

JWT, refresh tokens, password reset, Google OAuth, API keys.

Stripe Billing

Subscriptions or credits. Webhooks, receipts, customer portal.

Test suite
$ pytest --cov -q
91 passed in 5.2s
Coverage: 94%

Email

Mailgun + SendGrid

Multi-tenant

Orgs + invitations

Background Jobs

Celery + Redis

Docker

Compose + deploy guides

AI-powered

Build faster with AI assistance

Clean, well-structured Python code that AI tools actually understand. Customize in minutes, not hours.

AI-Ready Codebase

Works with your favorite AI tools

Every module is cleanly separated, documented, and follows Django conventions. AI assistants can navigate, understand, and extend the codebase instantly.

Claude Code Codex Gemini CLI

Example prompt

"Add a new subscription tier with a 30-day free trial and usage limits to the billing app"

Built for AI Products

Ship AI-powered APIs on day one

The AI SaaS Kit is purpose-built for deploying AI-powered products. Credit billing, async job processing, and API key auth — the infrastructure your AI startup needs.

Credit-based billing

Atomic deduction with F() expressions. Users buy credit packs, spend them on API calls.

Async job processing

Celery + Redis for long-running AI inference. Submit, poll, retrieve results.

API key authentication

Machine-to-machine auth for programmatic access. Per-org request logging and analytics.

Two kits

Pick your billing model.

Charging monthly? Go subscription. Charging per API call? Go credits. Not sure? Get both.

Subscriptions

SaaS Starter Kit

Monthly/annual plans, the classic SaaS model.

JWT + Google OAuth
Stripe subscriptions + one-time payments
Org invitations with expiry
Email verification + password reset

Best for SaaS dashboards, team tools, CRM

Usage-based

AI SaaS Starter Kit

Credit-based billing, pay-per-API-call.

JWT + API key auth (M2M)
Atomic credit deduction (race-safe)
Celery async job processing
Per-org request logging + analytics

Best for AI APIs, LLM wrappers, developer tools

Both kits include Mailgun + SendGrid, full test suite, Docker, and comprehensive docs.

Pricing

One-time payment. Ship forever.

No subscriptions, no recurring fees. Buy once, build as many products as you want.

Best Value

Full Bundle

Both kits at a discount

$200 USD

One-time · Lifetime access

SaaS Starter Kit $149
AI SaaS Starter Kit $149
You save $98
Everything in both kits
Subscription + credit billing
JWT, OAuth, and API key auth
Celery async job processing
Per-org analytics middleware
Mailgun + SendGrid email
Full pytest + factory-boy suite
Docker Compose + deploy guides

SaaS Starter Kit

Subscription billing — launch your SaaS in days

$149 USD

One-time · Lifetime access

JWT + Google OAuth
Stripe subscriptions + one-time
Multi-tenant orgs with roles
Invitation system with expiry
Email verification + password reset
Mailgun + SendGrid email
Full pytest + factory-boy suite
Docker Compose + deploy guides

AI SaaS Starter Kit

Credit-based billing — charge per API call

$149 USD

One-time · Lifetime access

JWT + API key auth (M2M)
Atomic credit deduction (race-safe)
Celery + Redis async jobs
Per-org analytics middleware
Multi-tenant orgs with roles
Mailgun + SendGrid email
Full pytest + factory-boy suite
Docker Compose + deploy guides
Secure via Paddle Instant download Full source code 14-day refund policy

Frequently asked questions.

What do I get after purchase?
A download button appears immediately on the confirmation page. You also get an email with a download link valid for 24 hours and up to 5 downloads. The download is a ZIP file containing the full source code, ready to clone and run.
What’s the license?
Personal and commercial use. Build and ship as many products as you want with it. The only restriction: you can’t resell or redistribute the starter kit source code itself.
Do I need to know Django?
Basic Python and Django knowledge is helpful, but each kit includes a comprehensive README with step-by-step setup, environment variable reference, and deployment guides for Render and Railway.
Which kit should I choose?
Charging a monthly or annual fee? Go with the SaaS Starter Kit. Building an AI API where users pay per request? The AI SaaS Kit. Not sure? The bundle includes both and saves you $98.
Do you offer refunds?
Yes, within 14 days of purchase if the product doesn’t work as described or our support team can’t resolve a technical issue. Email hello@mail.starterkit4u.com with your order details and the specific issue. We’ll work to fix it first — if we can’t, you get a full refund.
Will I get updates?
You get the current version of the source code. It’s yours to modify and maintain. Major updates may be available at a discounted rate for existing buyers.

Every day on boilerplate
is a day you're not shipping.

Get the foundation. Build what matters. Your first users won't care about your auth system — they'll care about your product.

Get Your Starter Kit