Docs
Ship a SaaS faster with a production-ready Next.js foundation.
This starter kit gives you authentication, billing, and deployment scaffolding so you can focus on product features.
Quickstart
Install dependencies, run migrations, and start the dev server.
npm install npx prisma migrate dev npm run dev
Authentication
Auth is powered by NextAuth with credentials for fast prototyping. Set your secret and base URL in `.env`.
NEXTAUTH_URL=https://your-domain.com NEXTAUTH_SECRET=your-secret
Stripe billing
Add your Stripe keys, set the webhook endpoint, and configure the monthly price ID for subscriptions.
STRIPE_SECRET_KEY=sk_test_... STRIPE_WEBHOOK_SECRET=whsec_... STRIPE_PRICE_PRO_MONTHLY=price_... NEXTAUTH_URL=https://your-domain.com
Webhook endpoint: /api/stripe/webhook
Deployment
Deploy to Vercel, set environment variables, and run migrations on your production database.
Open Vercel deploy guide1. Add all env vars in your hosting provider.
2. Run `npx prisma migrate deploy`.
3. Verify Stripe webhook delivery in the dashboard.