Getting Started
What is Launchframe?
Launchframe is an opinionated SaaS starter for Next.js 16. One CLI command scaffolds a production-ready project with auth, billing, email, database, testing, CI/CD, and AI-first developer experience.
Two templates ship today:
- blank — minimal SaaS baseline: header nav, hero landing, auth, billing, email, database
- dashboard — product-facing starter: marketing page with pricing, demo dashboard, polished UI, dark design system
Prerequisites
- Node.js 22+ (LTS recommended)
- pnpm (or npm / bun)
- PostgreSQL database (local or hosted)
Install
npx create-launchframe my-appThe interactive wizard walks you through template, database driver, billing provider, auth provider, email, deploy target, and AI tools.
Non-interactive (CI-friendly)
npx create-launchframe my-app \
--template dashboard \
--database-driver pg \
--billing stripe \
--auth email-password+github \
--email-provider resend \
--deploy-target docker \
--package-manager pnpm \
--ai-tools cursor,claudeRun
cd my-app
cp .env.example .env.local # add your keys
pnpm install
pnpm devOpen http://localhost:3000.
What's Included
Every generated project ships with:
| Area | Stack |
|---|---|
| Framework | Next.js 16 App Router, React 19, TypeScript 5.9 |
| Database | PostgreSQL + Drizzle ORM (migrations, seeds, typed schema) |
| Auth | Better Auth — email/password + optional GitHub OAuth |
| Billing | Stripe or Polar (checkout, portal, webhooks) |
| Resend transactional email | |
| Testing | Vitest (unit) + Playwright (E2E) |
| Quality | ESLint 9, Prettier, Husky + lint-staged |
| CI/CD | GitHub Actions |
| AI DX | AGENTS.md + ARCHITECTURE.md (always); CLAUDE.md, .cursor/rules, .gemini (via --ai-tools) |
| Deploy | Vercel or Docker |
Next Steps
- Quick Start → — step-by-step setup with env vars
- CLI Options → — full reference for all flags
- Templates → — what each template includes
- Modules → — how the modular architecture works