Modern Next.js 16 + React 19 app with Tailwind CSS v4, Radix UI, and better-auth.
- Next.js 16 (App Router) with React 19 + React Compiler
- Tailwind CSS v4, OKLCH color system,
next-themes - Radix UI primitives and custom UI components
- better-auth (email+password + email OTP)
- Biome (lint/format), TypeScript strict
npm ci
cp env.example .env.local
# edit .env.local as needed
npm run devnpm run dev– Start dev servernpm run build– Build for productionnpm run start– Start production servernpm run lint– Biome lintnpm run format– Biome format writenpm run typecheck– TypeScript typecheck
NEXT_PUBLIC_API_URL– Backend base URL used by Next rewrites and better-auth client.- Backend must issue proper cookies (HttpOnly, SameSite, Secure) for auth.
- Follow Conventional Commits (
feat:,fix:,docs:,chore:,ci:, etc.). - Pre-commit hooks run Biome and typecheck on staged files.
- Open PRs against
master/mainand fill the PR template.
See CONTRIBUTING.md for details.
GitHub Actions runs on push and PR:
- Install deps, lint (Biome), typecheck (TS), and build.
- Conventional Commits power automatic versioning and CHANGELOG generation (release automation configured via GitHub Actions—see
.github/workflows/*).
Private/Proprietary (update as needed).