Skip to content

Developer Guide

Welcome to the @saas Next.js Template developer documentation. This guide covers everything you need to develop, test, deploy, and extend the template.

Quick Navigation

SectionDescription
Quick StartClone → configure → run in 5 minutes
API GuideRoute handlers, Server Actions, auth patterns
TestingVitest unit + Playwright e2e, coverage gate
DeploymentZeabur deployment, env vars, zero-downtime
ChangelogVersion history and migration notes

Guides

GuideDescription
Quick Start (Guide)Step-by-step first run
First Epic WalkthroughFull epic pipeline demo
Deploy GuideProduction deployment checklist
Fork Security SetupSecure your fork for production
Memory SystemHow agent memory tiers work
AI Agent Team12 agents — roles and invocation
Custom AgentsAuthor your own Claude Code agents
Autopilot ModeConfidence-gated auto-execution

Stack

LayerTechnology
FrameworkNext.js 16 App Router
UIReact 19 + TypeScript + Tailwind v4 + shadcn/ui
AuthNextAuth v5 (JWT, stateless)
DatabaseDrizzle ORM + PostgreSQL 15
RBAC3-tier: viewer / editor / admin
BillingPaymentProvider abstraction (Stripe + ECPay)
TestsVitest + Playwright (>=80% coverage gate)
DeployZeabur (one service, next-app/)
AI DevClaude Code + 12 specialized agents

Released under the MIT License.