The only Next.js + FastAPI + Railway boilerplate

Ship your SaaS in
days, not weeks.

Production-ready starter kit built on the exact stack used to build QuickClips — a live SaaS with real users. Every painful integration already solved for you.

Get QuickStack — $199 See What's Included

One-time payment · Lifetime access · 30-day money-back guarantee

Next.js 14 FastAPI Railway Clerk Auth Stripe Celery Redis PostgreSQL Cloudflare R2 TypeScript SQLAlchemy 2.0 Alembic shadcn/ui Tailwind CSS
The Problem

3–6 weeks of setup on every new SaaS

Every solo founder using Claude Code or Cursor hits the same wall. The tools are fast — the integrations are slow.

❌ Without QuickStack
⏱️2 weeks fighting Clerk + FastAPI JWT verification
⏱️1 week configuring Stripe webhooks + subscription logic
⏱️3 days getting Celery workers running on Railway
⏱️2 days debugging R2 CORS + presigned URL patterns
⏱️1 week setting up Alembic migrations + DB pooling
💸Ship nothing. Burn time on infrastructure.
✅ With QuickStack
Clerk auth works out of the box — JWT middleware included
Stripe webhooks + subscription events — all handled
Celery + Redis on Railway — railway.toml already configured
R2 CORS, presigned URLs, public CDN — all wired up
Alembic migrations, pooling, health checks — done
🚀Day 1: write features. Day 14: ship your product.
What's Included

Everything a production SaaS needs

Not a tutorial. Not a skeleton. This is a fully functional, deployed codebase — the same one running QuickClips.

⚛️
Next.js 14 Frontend
App Router, TypeScript, Tailwind CSS, shadcn/ui components. Dashboard shell with sidebar, dark mode, and responsive layout.
App Router TypeScript shadcn/ui dark mode
🐍
FastAPI Backend
SQLAlchemy 2.0, Alembic migrations, dependency injection, global error handler, structured logging with request IDs.
FastAPI SQLAlchemy Alembic PostgreSQL
🔐
Clerk Authentication
Sign up, sign in, user management. JWT verification middleware in FastAPI with azp claim validation. Auto user provisioning on first login.
Clerk JWT middleware
💳
Stripe Billing
Checkout sessions, subscription management, webhook handler (all critical events), idempotency, dunning flow. Subscription state synced to DB.
Stripe webhooks subscriptions
⚙️
Celery + Redis Workers
Async task queue for background jobs. Railway deployment config included — the hardest part to get right. Queue routing, retries, time limits, memory limits.
Celery Redis Railway async
☁️
Cloudflare R2 Storage
Presigned URL upload pattern (client uploads directly, bypassing your server). Custom CDN domain, CORS configuration, lifecycle cleanup policy.
R2 presigned URLs CDN
🚂
Railway Deployment
railway.toml files for every service. Environment variable documentation. One-click deploy from GitHub. Health check endpoints pre-configured.
railway.toml nixpacks health checks
📖
Complete Documentation
Step-by-step setup guide, environment variable reference, deployment walkthrough, architecture decisions, and real error solutions from building the actual product.
setup guide env vars architecture
📝
"First Feature" Walkthrough
A complete notes feature demonstrating the full stack: frontend form → API call → background Celery task → SSE streaming → database → UI update.
tutorial full-stack SSE
# 1. Clone your copy of QuickStack
git clone your-quickstack-repo my-saas

# 2. Configure environment
make setup # creates .env files from .env.example

# 3. Start everything locally
make dev # starts Next.js + FastAPI + Celery + Redis

# 4. Deploy to Railway
railway up # all services deployed with existing config
Comparison

The only full-stack Python boilerplate

Every other boilerplate assumes you want a Node.js backend. If you're building with FastAPI and Celery, you're on your own — until now.

Boilerplate FastAPI Celery Workers Railway Config R2 Storage Clerk + JWT Price
⚡ QuickStack $199–$399
ShipFast (Marc Lou) ✗ (Node only) $199
SaaS Pegasus ✗ (Django Auth) $249+
T3 Stack / create-t3 ✗ (Node/tRPC) ✗ (NextAuth) Free
Pricing

One-time payment. Forever yours.

No subscriptions. Buy once, use on every project you ever build. Updates included.

Starter
$199 one-time
Full codebase + 6 months of updates
Complete Next.js + FastAPI codebase
Clerk, Stripe, Celery, R2 — all wired
Railway deployment configs
Setup documentation
6 months of updates
Use on unlimited projects
Get Starter
Bundle
$399 one-time
Pro + video course
Everything in Pro
Video walkthrough course
Builds first feature end-to-end on camera
3 real-world feature recipes
Lifetime course access
All future course modules
Get Bundle

30-day money-back guarantee · Secure checkout by Lemon Squeezy · Instant access via GitHub

FAQ

Common questions

What exactly do I get when I buy?
You get access to a private GitHub repository with the complete QuickStack codebase. This includes the Next.js frontend, FastAPI backend, Celery worker configuration, all Railway deployment files, and documentation. Lemon Squeezy delivers the GitHub access link automatically after payment.
Is this based on a real production app?
Yes. QuickStack is directly derived from QuickClips, a live AI video SaaS built and deployed by Maine Winters LLC. Every integration was battle-tested in production — the CORS configs, Railway deployment, Celery worker setup, R2 presigned URLs, and Stripe webhook handlers all come from a running product.
Do I need to know Python / FastAPI?
You should be comfortable reading Python code. The backend is well-documented and follows standard FastAPI patterns. If you use Claude Code or Cursor, you'll be able to extend it easily even with limited Python experience.
Can I use this for multiple projects?
Yes. One purchase covers unlimited personal projects. You cannot resell or redistribute the code as your own boilerplate product.
How is this different from a free GitHub starter?
Free starters show you the happy path. QuickStack includes the fixes for every real-world problem: Celery workers that actually run on Railway, R2 CORS that actually works, Clerk JWT verification with proper azp validation, Stripe webhook idempotency, database connection pooling — all the things you hit after day one.
What's the refund policy?
30-day no-questions-asked refund. If you follow the setup guide and can't get it running, email hello@mainewinters.com and we'll help or refund — your choice.
Does it work with Vercel instead of Railway?
The Next.js frontend deploys to Vercel with zero changes. The FastAPI backend + Celery workers are configured for Railway specifically. Adapting to other platforms (Fly.io, Render) is possible but not documented.

Ready to skip the setup?

Every day you spend on infrastructure is a day you're not getting user feedback. Start with the hard parts already solved.

Get QuickStack — Starting at $199

One-time · 30-day money-back · Instant GitHub access