‹ Projects · Developer tools

Next.js SaaS Boilerplate

A starter application with authentication, billing, AI integration and administration.

What the homepage saysRead 21 September 2026

Stop rebuilding the same SaaS scaffolding for every new idea. This is a production-ready Next.js boilerplate with authentication, billing, AI integration, and an admin panel already wired together and tested end-to-end — not just scaffolded, actually working with real Stripe and Razorpay test transactions, real webhook handling, and a real Postgres database via Prisma. **What's included:** - 🔐 **Auth** — Email/password + Google OAuth, protected routes, forgot/reset password flow, built on NextAuth (Auth.js v5) - 💳 **Billing** — Both Stripe and Razorpay integrated, checkout, webhooks, self-service customer portal, subscription status synced to your database - 🤖 **AI-ready** — Drop in your own API key (OpenAI-compatible), usage limits enforced server-side, tracked per user per month - 📊 **Admin panel** — Real-time stats: total users, active subscribers, MRR, usage logs — protected by an admin allowlist - 🗄️ **Database** — Prisma + PostgreSQL, migrations included, clean schema for Users, Subscriptions, and Usage Logs - ⚡ **Next.js 16** (App Router, Turbopack), fully typed TypeScript, Tailwind CSS **What you get:** - Full source code (private GitHub-ready repo) - `.env.example` with every variable documented - Step-by-step `SETUP.md` covering local dev → Vercel deployment, including the exact gotchas we hit building this (Prisma + Vercel caching, webhook secret setup, OAuth redirect URIs) - A short demo video showing the whole flow working live **What you provide:** - Your own Stripe / Razorpay account and API keys - Your own database (free tier on Supabase/Neon/Railway works fine) - Your own Google OAuth credentials (free) - Your own AI provider API key This is a boilerplate, not a hosted service — you own the code outright and deploy it wherever you want.

Open Graph preview
Next.js SaaS Boilerplate Open Graph preview