LogoA Template
icon of saas-starter

saas-starter

SaaS starter built with Next.js, Postgres, Stripe, and shadcn/ui, offering authentication, payments, and user dashboards.

Introduction

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.

Key Features:

  • Marketing landing page with animated Terminal element
  • Pricing page 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

Tech Stack:

  • Framework: Next.js
  • Database: Postgres
  • ORM: Drizzle
  • Payments: Stripe
  • UI Library: shadcn/ui
A template
Copy badages awards

Newsletter For Templates

Join the Community For Templates

Subscribe to Templates newsletter for the latest news and updates