Skip to content
/ nextjs-lite Public template

NestJS Lite Boilerplate | Next.js 15 + TypeScript + Tailwind CSS 4 + ESLint + Prettier(eslint-stylistic) + Husky(Lefthook) + Vitest + Commitlint

License

Notifications You must be signed in to change notification settings

CodePsy-2001/nextjs-lite

Repository files navigation

NextJS Lite Boilerplate

NextJS Lite Bolierplate banner

Features

Optimized for developer experience with an extremely flexible code structure. Only includes what you actually need:

  • ⚑ Next.js with App Router
  • πŸ”₯ Type checking using TypeScript
    • πŸ’‘ Absolute Imports using @ prefix
    • βœ… Strict Mode for both TypeScript and React 19
  • πŸ’Ž Integrated with Tailwind CSS
  • πŸ“ Linting via ESLint
  • 🦊 Git Hooks managed with Lefthook (as a replacement for Husky)
    • πŸš“ Commit message linting with Commitlint
    • πŸ““ Write standard-compliant commit messages with Commitizen
  • πŸ” Detect unused files and dependencies with Knip
  • 🦺 Unit testing with Vitest (including browser mode)
  • πŸ’― Optimized for high Lighthouse scores
    • βš™οΈ Bundle Analyzer
    • πŸ€– SEO features including sitemap.xml, robots.txt, SEO metadata, JSON-LD, and Open Graph tags
  • πŸ‘· Automated dependency updates with Dependabot

Differences from Next-js-Boilerplate

Removed features that may feel like advertisements:

  • No default database or SQL provider
  • No built-in AI assistant
  • No system logger by default
  • No SaaS integrations or external dashboards

Also removed some features that may be unnecessary for many users:

  • Test coverage visualization has been removed
  • Does not run tests via GitHub Actions (use commit hooks instead)
  • Removed custom knip config (uses zero-config)
  • Although react-hook-form is a very popular library, it is not included by default

Recommended Libraries

These libraries are recommended but not included:

pnpm add react-hook-form swr
pnpm add es-toolkit @toss/react
# shadcn, tweakcn

About

NestJS Lite Boilerplate | Next.js 15 + TypeScript + Tailwind CSS 4 + ESLint + Prettier(eslint-stylistic) + Husky(Lefthook) + Vitest + Commitlint

Topics

Resources

License

Stars

Watchers

Forks