Introduction

NextGenKit is a production-ready, multi-tenant SaaS boilerplate built with Next.js 16, Clerk, Stripe, Prisma, and shadcn/ui.

What's Included

  • Authentication — Clerk v7 with organizations, RBAC, webhooks, and MFA
  • Billing — Stripe subscriptions, customer portal, plan gating
  • Multi-tenancy — Organization-scoped data, team invites, role management
  • Database — Prisma 7 with Neon PostgreSQL, migrations, and seeding
  • UI — shadcn/ui + Tailwind CSS v4, dark mode, responsive layouts
  • Email — Resend + React Email templates
  • i18n — next-intl preconfigured for multiple languages
  • Testing — Vitest (unit) + Playwright (E2E)
  • CI/CD — GitHub Actions workflow included

Tech Stack

LayerTechnology
FrameworkNext.js 16 (App Router, Turbopack)
AuthClerk v7
BillingStripe
DatabasePrisma 7 + Neon PostgreSQL
UIshadcn/ui + Tailwind CSS v4
EmailResend + React Email
i18nnext-intl
ValidationZod v4 + t3-env
TestingVitest + Playwright

Prerequisites

  • Node.js 20+
  • pnpm 9+
  • PostgreSQL (or Neon for serverless)
  • Clerk account
  • Stripe account (test mode)
  • Resend account

Next Steps

Head to the Installation guide to get your project running in under 5 minutes.