Built for AI coding agents. Auth, database, payments, and more — production-wired so Claude Code can ship features from the first prompt.
Every feature is production-tested and designed to work together. No loose wiring, no TODO comments, no “exercise for the reader.”
Google OAuth with Better Auth. Admin roles, organizations, auto-provisioning. Protected routes out of the box.
PostgreSQL + Drizzle ORM with typed schema, SQL migrations, shared Docker container, and one-command provisioning.
Organization-scoped RLS policies on Postgres. Tenant context set per-request. Fails closed — zero rows on missing context.
Subscription scaffold with webhook sync, customer auto-creation, checkout flow, and portal. Degrades gracefully without keys.
Streaming chat with tool use. Anthropic and OpenAI wired as examples — swap in any of 20+ supported providers.
Transactional email with Resend + React Email. Welcome and invitation templates included. Graceful fallback when unconfigured.
Service worker with offline fallback, install prompt, VAPID push notifications. Works when the app is backgrounded.
Vitest + Testing Library for unit tests, Playwright for E2E. API contract tests. Docker build fails on any test failure.
Automated Coolify deployment — provisions DB, sets env vars, configures DNS, triggers build. Zero clickops.
Security isn't a feature — it's the foundation. Every request passes through multiple independent checks. If any layer can't verify, access is denied.
The deploy script provisions your database, sets every env var, configures DNS, and triggers the first build. No clicking through dashboards.
$ bunx degit your-org/nextjs-template my-appGet the full template with every feature, pre-wired and tested.
$ bun run template:init && bun run dev:initName your project, generate secrets, configure OAuth. Two minutes.
$ bun run deploy:coolifyOne command provisions everything and deploys. You're live.
Auth, database, payments, email, AI, push notifications, testing, deployment — already done. Your first commit is a product feature.