A robust boilerplate for quickly building web applications with Next.js.
- Next 15+ (app router, server components)
- React 19
- Typescript
- Tailwind
- ESLint
- Prettier
- Lefthook
- Commitizen
- Vitest
- Playwright
- Lint-staged
- Storybook
- Sentry
- Rsdoctor
- Nuqs
- Kubb API Codegen
- Design tokens (style-dictionary)
- Env validation
- Install the project using
npx create-next-app -e https://github.com/webpractik/nextjs-starter --use-npm - Copy environment variables to .env (
cp .env.example .env) and configure them. - Start the development server with
npm run dev
- Node:
^22 - Npm:
^10 - App Port:
3000 - Healthcheck:
/api/health - Ready:
/api/ready - Prometheus Metrics:
/api/metrics
npm cinpm run buildnpm run prod
- nanoid - Generate unique IDs
- lodash-es - Utility library
- react-use - Collection of hooks for React
- isomorphic-dompurify - DOM sanitization library
- clsx - Utility for constructing CSS class names