All Templates / Starters
nextjs-saas-starter
Simple Saas Starter in Nextjs
nextjs-saas-starter
leerob/next-saas-starter
Just deployed
Postgres
railwayapp-templates/postgres-ssl:16
Just deployed
/var/lib/postgresql/data
Next.js SaaS Starter This is a starter template for building a SaaS application using Next.js with support for authentication, Stripe integration for payments, and a dashboard for logged-in users.
Demo: https://next-saas-start.vercel.app/
Why did I make this? In 2020, I made a course called "React 2025" which showed how to build a SaaS application with Next.js, Stripe, and other tools.
Well, it's almost 2025 and React 19 has brought so many amazing new features I didn't predict! This repo is a demonstration of the latest React and Next.js patterns. These patterns can drastically simplify some common tasks in building your SaaS, like building forms, talking to your database, and more.
Features Marketing landing page (/) with animated Terminal element Pricing page (/pricing) which connects to Stripe Checkout Dashboard pages with CRUD operations on users/teams Basic RBAC with Owner and Member roles Subscription management with Stripe Customer Portal Email/password authentication with JWTs stored to cookies Global middleware to protect logged-in routes Local middleware to protect Server Actions or validate Zod schemas Activity logging system for any user events
Template Content
nextjs-saas-starter
leerob/next-saas-starterSTRIPE_SECRET_KEY
STRIPE_WEBHOOK_SECRET
Details
chin's Projects
Created on Dec 25, 2024
9 total projects
3 active projects
75% success on recent deploys
TypeScript, CSS, JavaScript
Starters
More templates in this category
Django Monolith
A Django app connected to a Postgres database with Celery and Celery Beat.
Odogwu Machalla's Projects
37