---
title: "Deploy nextjs-saas-starter"
description: "Simple Saas Starter in Nextjs"
category: "Starters"
url: https://railway.com/deploy/BAwWpG
---

# Deploy nextjs-saas-starter

Simple Saas Starter in Nextjs

**[Deploy nextjs-saas-starter on Railway](https://railway.com/template/BAwWpG)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/BAwWpG/manifest.json

- **Creator:** chin's Projects
- **Category:** Starters
- **Total deploys:** 16

## Template content

### nextjs-saas-starter

- **Source:** leerob/next-saas-starter
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:16

## Documentation

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

## Similar templates

- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [caring-vibrancy](https://railway.com/deploy/caring-vibrancy) — Deploy and Host caring-vibrancy with Railway
- [Appsmith](https://railway.com/deploy/appsmith-1) — Low-code platform for internal tools, dashboards, and admin panels.

Open this page in a browser: https://railway.com/deploy/BAwWpG
