Open-source Next.js boilerplate for launching SaaS apps with a clean Tailwind UI, App Router support, and a production-ready setup including auth, database, testing, and SEO basics.
Works with both App Router and Page Router to fit new or legacy projects.
Preconfigured Clerk authentication with sign in, sign up, and passwordless options.
Uses Drizzle ORM with local PGlite and supports Postgres, MySQL, and SQLite.
Includes Vitest, Testing Library, and Playwright for unit, integration, and E2E tests.
Ships with metadata, Open Graph, JSON-LD, sitemap, and robots.txt preconfigured.
Provides ESLint, Prettier, Commitlint, and VSCode settings for consistent workflow.
This is an open-source starter template for shipping a Next.js app faster, aimed at developers who want a solid baseline before adding their own product UI and features. It gives you a structured project that works with both the App Router and the Pages Router, so it can fit new builds or incremental migrations. The stack is TypeScript-first and integrates Tailwind CSS for styling. Beyond the UI layer, it includes a ready-to-use authentication flow and a database setup so you can prototype real app behavior early. It also comes with a testing toolchain and sensible SEO defaults to help you ship with confidence.
The template targets Next.js 16+ and TypeScript, and it’s designed to be flexible: keep the pieces you need and remove what you don’t. Authentication is pre-integrated via Clerk, and the data layer uses Drizzle ORM with support for common SQL databases (including PostgreSQL, MySQL, and SQLite), plus a local-first setup for development. For quality gates, it includes Vitest and Playwright, and provides linting/formatting plus commit-message tooling to keep a team workflow consistent.