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