talira

Next.js Boilerplate

Next.js starter with App Router, TypeScript, Tailwind CSS, Drizzle ORM, auth and a full testing and linting setup

open coreMITself-hostablefree

Next.js Boilerplate, by ixartz (Remi Wg), is a starter for Next.js projects with the App Router, TypeScript in strict mode, Tailwind CSS and React 19, set up for developer experience. It comes with authentication through Clerk (magic links, MFA, social sign-in), a type-safe Drizzle ORM for PostgreSQL, SQLite or MySQL with PGlite for local development, i18n with next-intl, T3 Env, React Hook Form and Zod, linting and formatting with Oxlint and Oxfmt, Git hooks with Lefthook, Commitlint, Knip, unit tests with Vitest, end-to-end tests with Playwright, Storybook, Sentry error monitoring, GitHub Actions and instructions for AI coding agents. The starter is MIT licensed; a paid Pro edition adds multi-tenancy and teams, roles and permissions, shadcn/ui, oRPC and Stripe payments.

Problems it solves

  • I want to start a Next.js app with auth, a database and tests already set up
  • I need a TypeScript Next.js starter with Tailwind and Drizzle
  • I want a SaaS starter kit for Next.js instead of wiring everything myself

Features

  • Next.js App Router, TypeScript strict mode, Tailwind CSS, React 19
  • Clerk authentication with magic links, MFA and social sign-in
  • Drizzle ORM with PGlite for local development
  • i18n, T3 Env, React Hook Form and Zod
  • Vitest, Playwright, Storybook and GitHub Actions
  • Oxlint, Oxfmt, Lefthook, Commitlint and Knip
  • Sentry error monitoring and AI agent instructions

Ways to run it

Next.js Boilerplate

You run it, MIT

free12

Only in this edition

  • auth, ORM, i18n, testing and linting setup

Not included

  • multi-tenancy, roles, Stripe

You arrange

  • hosting

Self-hosting docs

Next.js Boilerplate Pro

You run it, under a commercial licence

$399 one-time for one project12

Only in this edition

  • multi-tenancy and teams
  • roles and permissions
  • Stripe integration
  • shadcn/ui

You arrange

  • hosting

Self-hosting docs

Alternatives

The same job

These do what Next.js Boilerplate does.

  1. Next.js SaaS Starter Get started quickly with Next.js, Postgres, Stripe and shadcn/ui
  2. create-t3-app Interactive CLI to start a full-stack, typesafe Next.js app with the T3 Stack
  3. Open SaaS A free, open source React and Node.js SaaS template
  4. ShipFast The Next.js boilerplate with all you need to build your SaaS, AI tool or web app
  5. The Epic Stack An opinionated full-stack web app starter to ship Epic Web apps
  6. ChatJS Scaffold an AI chat app you own: pick the models, tools and services, then edit the code

Compare Next.js Boilerplate with the top 3