Every new project starts the same way: two weeks wiring up auth, sessions, user management, and permissions before you write a single line of business logic.
You copy-paste from your last project. The auth is outdated, the UI is inconsistent, the database schema doesn't quite fit. You spend more time patching than building.
AI assistants generate code into an empty repo and invent their own patterns each time — different folder structures, different auth approaches, different UI components. Nothing is cohesive.
You end up shipping something that works today but fights you tomorrow. No audit trail, no job monitoring, no clear architecture for the next developer (or AI) to follow.
Skip the scaffolding.
Start with a working app.
CoreUI Next.js Boilerplate is not a starter template — it's a working application with real authentication, user administration, role-based access control, audit logging, and background jobs already built and connected. You get a documented, modular architecture that both humans and AI assistants can extend predictably from day one.
Clone, npm install, set your database URL, run db:push and db:seed. You have a full admin app with demo data before your coffee gets cold.
Login, registration, email verification, password reset, session management, rate limiting, and disabled-user blocking — all wired up with Better Auth. Not a TODO, not a stub.
Create, edit, disable, and manage users. Revoke sessions, resend verification emails, force password resets. The admin panel every internal tool needs — already done.
Three-tier RBAC (user, admin, super_admin) with granular feature permissions. Every sensitive action is logged with actor, target, and timestamp. Compliance-ready from the start.
CoreUI components are well-represented in LLM training data. AI assistants generate correct CSmartTable, CFormInput, and CModal code instead of hallucinating nonexistent APIs. Documented module boundaries and consistent CRUD patterns keep every AI session on track.
CoreUI PRO components ship with ARIA attributes, keyboard navigation, focus management, and semantic HTML built in. You get accessible admin UI without auditing every element yourself — 80+ components, one cohesive design system.
15 minutes from clone
to your first feature.
Watch the setup, then watch a complete CRUD module built from scratch — list, create, edit, delete, validation, permissions. That's what you can ship in your first session with this boilerplate.
- ✓Next.js 16 + React 19 + TypeScript — latest App Router with server components, server actions, and streaming
- ✓Complete auth system — login, register, email verification, password reset, session handling, rate limiting, disabled-user blocking
- ✓Drizzle ORM + PostgreSQL — type-safe queries, split schema files, seed data, Drizzle Studio support
- ✓CoreUI React PRO components — CSmartTable, forms, modals, charts, sidebar, dark mode — one cohesive design system
- ✓Full user administration — create, edit, disable/enable, revoke sessions, resend verification, force password reset
- ✓Three-tier RBAC — user, admin, super_admin roles with 10+ granular feature permissions enforced server-side
- ✓Audit log system — every admin action tracked with actor, action type, and timestamp. Filterable by action, actor, and date range
- ✓Background jobs — PostgreSQL-backed job queue with retry, cancel, exponential backoff, and a monitoring dashboard
- ✓Email infrastructure — verification, password reset, and welcome emails via Console, SMTP, or Resend. Swap providers with one env variable
- ✓File storage — avatar uploads with local filesystem or S3-compatible storage. Provider-agnostic abstraction built in
- ✓Domain-module architecture — documented module structure with queries, commands, events, and handlers. New features follow a proven pattern
- ✓AI agent docs included — AGENTS.md, ARCHITECTURE.md, and DEVELOPMENT.md give Cursor, Claude Code, and Copilot the context to generate consistent code
Developers and teams building internal tools, admin panels, or backoffice apps who don't want to spend the first two weeks on authentication, user management, and infrastructure plumbing.
AI-native teams using Cursor, Claude Code, or Copilot who need a structured codebase their AI tools can extend reliably — not an empty repo where every AI session invents a new architecture.
Freelancers and agencies delivering client projects who need a proven, professional foundation they can customize per client instead of rebuilding the same admin boilerplate on every engagement.
2-3 weeks of setup work — auth, users, permissions, audit logs, email, storage, admin UI, and dark mode are already connected and working.
Dozens of architecture decisions — folder structure, auth strategy, RBAC model, validation approach, CRUD patterns, and state management are already made and documented.
Ongoing maintenance burden — 12 months of updates keep your foundation current with Next.js, React, and Better Auth releases.
- Complete source code — no black boxes, no vendor lock-in
- Next.js 16 + React 19 + TypeScript + Drizzle ORM + PostgreSQL
- Better Auth with sessions, email verification, and password reset
- User admin, RBAC, audit logs, background jobs, and email
- CoreUI React PRO components and responsive admin shell
- 12 months of updates and email support
- License for 1 project or product
- Everything in the Starter license
- Unlimited projects — internal tools, client work, SaaS products
- Use across your entire team or organization
- No per-seat, per-project, or per-deployment restrictions
- 12 months of updates and email support
- Best value for agencies and multi-product teams
Since 2013, CoreUI has been trusted by developers at the world's smartest companies
