Production-ready Next.js boilerplate
A developer-friendly starter with self-hosted authentication, type-safe APIs, multi-tenancy support, and a polished dashboard β all pre-configured and ready to ship.
What's included
- π Next.js 16+ with App Router and TypeScript
- π Tailwind CSS v4 with shadcn/ui components
- π Self-hosted auth with Better Auth (email, social, MFA)
- π₯ Multi-tier user model β Client, Solo Lawyer, Agency, Admin
- π’ Multi-tenancy with organizations, roles, and team switching
- π Registration wizard with role selection and auto org creation
- π€ Client-lawyer engagement linking (many-to-many)
- π‘οΈ Role-guarded admin area with platform dashboard
- π End-to-end type-safe APIs with oRPC and Zod
- π¦ DrizzleORM with PostgreSQL
- β‘ Two-tier caching β React.cache() + Redis via ioredis
- π Dashboard with sidebar, data tables, charts, and dark mode
- π In-app docs viewer with search, syntax highlighting, and scroll tracking
- π Multi-language support (i18n) with next-intl
- π΄ Form handling with React Hook Form and Zod validation
- π Linting and formatting (ESLint, Prettier, Lefthook)
- π¦Ί Testing suite (Vitest, Playwright)
- π¨ Error monitoring with Sentry
- π Security and bot protection with Arcjet
- π Semantic Release with automatic changelog
- π React Grab β select UI context for AI coding agents
Demo credentials
Password for all accounts: Test1234!
- Client: user@example.com
- Solo Lawyer: lawyer@example.com
- Agency: agency@example.com
- Admin: admin@example.com
Built by Interstellar Consulting β Waldkirch, Germany