About

What is Next Elite?

Frontend-first, API-driven Next.js starter with custom ui components, i18n, RBAC, BetterAuth, a polished DX and more.

Frontend-first Next.js 16 + React 19 boilerplate featuring BetterAuth, permission-based RBAC, type-safe i18n with next-intl, T3 Env, TanStack Query, and Sentry.

Who is it for?

  • Teams building dashboards, admin panels, and authenticated SaaS apps
  • Startups that want strict TypeScript, lean tooling, and fast iteration
  • API-first products that need caching, routing, and polished UX out of the box

Stack & UI

  • Next.js 16 App Router with React 19 and Tailwind v4
  • 40+ shadcn/ui primitives plus custom components with a live showcase
  • TanStack Query for client-side server-state caching
  • React Hook Form + Zod for typed forms and inline validation

Auth & platform

  • BetterAuth with email/password, Google OAuth, and permission-based RBAC
  • Parallel /dashboard routes with @user and @admin slots
  • Type-safe i18n via next-intl - 6 locales with Arabic RTL support
  • Server-first SEO, PWA manifest, sitemap, robots, and JSON-LD

DX & quality

  • T3 Env for build-time validation of server and client variables
  • Sentry monitoring for client and server errors
  • ESLint, Prettier, Knip, Lefthook, Vitest, and Playwright
  • npm run check - typecheck, lint, knip, and tests in one command

Get started in minutes

Clone the repository, copy the local environment configurations, install dependencies, and launch your developer server instantly. Ready to deploy to Vercel when you are.

Install & run
git clone https://github.com/salmanshahriar/Next-Elitecd Next-Elitenpm installcp .env.example .envnpm run dev