Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js SaaS Starter

A production-ready Next.js SaaS template with everything you need to build and ship a modern SaaS application.

Tech Stack

Category Technology
Framework Next.js 16 (App Router, Turbopack)
Language TypeScript (strict mode)
API Layer tRPC v11 + TanStack Query v5
Database PostgreSQL + Prisma ORM
Auth Better Auth (email/password + Google + GitHub OAuth)
Payments Polar.sh (subscriptions + customer portal)
Background Jobs Inngest
AI Vercel AI SDK + OpenRouter
Cache Redis
Analytics Plausible (self-hosted or cloud, optional)
UI shadcn/ui + Tailwind CSS v4
i18n next-intl (en + de)
State Zustand (client) + TanStack Query (server)
Input Validation Zod
Forms React Hook Form + Zod
Linting/Formatting Biome (not ESLint/Prettier)
Package manager / runtime Bun

Quick Start

git clone <repo-url> my-app && cd my-app
bun install
cp .env.example .env        # fill in DATABASE_URL, BETTER_AUTH_SECRET, etc.
docker compose up -d        # Postgres, Redis, Inngest dev server
bun run prisma:migrate && bun run prisma:generate
bun run dev                 # http://localhost:3000

See Getting Started for the full walkthrough, including OAuth and Polar setup.

Documentation

Full docs live in docs/ - readable as plain Markdown, or as a searchable site via bun run docs:dev (see Getting Started):

For AI coding agent instructions, see CLAUDE.md, AGENTS.md, and DESIGN.md.

About

A production-ready Next.js SaaS template with everything you need to build a modern SaaS application.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages