STARTER_SCOPE

Shipped and ready to scale

Every feature listed here exists in the codebase today. No roadmaps or placeholders. Just tested foundations for human users, APIs, and agent workflows you can reuse immediately.

Included today
Next.js App Router structure with page/layout conventions
Better Auth login, signup, session, and permission guards
API keys, CLI device login, and versioned `/api/v1/*` machine auth routes
Creem checkout, portal, subscription records, and webhooks
Admin pages for users, payments, subscriptions, and uploads
Cloudflare R2 upload flows for browser and server uploads
Markdown blog content, typed collections, and marketing pages
Playwright smoke coverage for auth, API key flows, CLI auth, admin, and locale routing
You still configure
Your own product logic, domain-specific data model, and integrations
Production infrastructure, deployment, secrets, and observability
Brand assets, copy, and plan definitions that match your business
Provider credentials for auth, billing, email, storage, and analytics
INCLUDED_MODULES

The starter is opinionated where it should be,and extensible where it matters.

This is not a demo landing page wrapped around empty routes. The major app surfaces already exist and share the same design system and data model.

Architecture

Next.js App Router foundation

Route groups, metadata helpers, loading states, error boundaries, and page conventions are already wired in the codebase.

Read the Next.js 16 architecture guide
Auth

Authentication and permissions

Better Auth sessions, guarded dashboard routes, role checks, and auth flows for login, signup, and magic-link style access.

Agents

Agent-ready API and CLI auth

API keys, CLI device login, refresh rotation, and versioned machine endpoints give scripts and agent (OpenClaw, Codex, Claude Code, etc.) access without reusing browser session cookies.

Compare API key, OAuth, and device auth
Monetization

Billing workflow

Creem checkout, customer portal handoff, webhook handling, and subscription records are connected end to end.

Build production Creem billing
Operations

Admin operations

User, payment, subscription, and upload management screens give you a working back office instead of an empty shell.

Data

Typed database layer

Drizzle models, query helpers, and server-side data access keep the app consistent without hand-written SQL scattered around the UI.

Storage

Direct and server uploads

Cloudflare R2 upload flows support browser uploads, server uploads, and administrative cleanup without leaking storage details into the UI.

Content

Content and SEO primitives

Markdown blog content, Content Collections indexing, metadata generation, sitemap output, and structured page shells are included for marketing content.

i18n

Localization-ready routing

Locale persistence, marketing URL handling, and translated UI strings are in place for Multilingual.

Quality

Testing and regression coverage

Jest covers units and routes, while Playwright smoke tests exercise auth redirects, API key flows, CLI device auth, admin gating, and locale routing in a real browser.

10
Core modules
2
Locales shipped
3
Checkout modes