Skip to content

webpractik/nextjs-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

148 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NextJS Starter

A robust boilerplate for quickly building web applications with Next.js.

Get started

  1. Install the project using bunx create-next-app -e https://github.com/webpractik/nextjs-starter
  2. Copy environment variables to .env (cp .env.example .env) and configure them.
  3. Sync git hooks: npx lefthook install
  4. Start the development server with bun run dev

Features

  • Next.js 16 (App Router, Server Components, React Compiler, Component Caching)
  • React 19
  • TypeScript 6 (erasable syntax, strict mode)
  • Tailwind CSS 4 + tw-animate-css
  • ESLint 10 (flat config, @antfu/eslint-config) + jsx-a11y
  • Prettier (via eslint-plugin-format)
  • Lefthook + Commitizen + lint-staged
  • Vitest 4 (browser mode, Playwright provider)
  • Playwright E2E (Chromium, Firefox, WebKit)
  • Storybook 10
  • Sentry 10 + Vercel OTEL
  • Rsdoctor (bundle analysis)
  • Nuqs (URL state management)
  • Kubb API Codegen (fetch clients, Zod validators, React Query hooks)
  • Design tokens (Style Dictionary → CSS variables)
  • Env validation (Zod 4 + @t3-oss/env-nextjs)
  • Knip (unused code detection)
  • @base-ui/react + shadcn component library

Requirements

  • Node.js: ^24
  • Bun: ^1.3

Deploy

  • App Port: 3000
  • Healthcheck: /api/health
  • Ready: /api/ready
  • Prometheus Metrics: /api/metrics

Run production mode

  • bun install
  • bun run build
  • bun run prod

Additional utilities

Releases

No releases published

Packages

 
 
 

Contributors