Back to Trending
RepositoryTypeScriptHKHong Kong SAR China
kenso312

kenso312/nestjs-v10-webpack-boilerplate

🎨 Boilerplate for NestJS v10 with Webpack, Pnpm, Fastify, Swagger, Pino Logger, Airbnb JavaScript Guide, Google JSON Style, ESLint, Prettier, Editorconfig, Husky, Lint-Staged, Commitlint, Axios, Docker, Alias Path, Error Handling and Clustering

128stars
16forks
1issues
0views

🚀 Boilerplate NestJS v10 Webpack — Tích hợp đầy đủ công cụ, tối ưu hiệu năng

Một bản khai báo cấu hình đầy đủ cho dự án NestJS v10, kèm Webpack bundling, Fastify, Swagger, Pino Logger và toàn bộ công cụ chất lượng code.

Dự án nestjs-v10-webpack-boilerplate cung cấp một bộ khung dự án NestJS v10 hoàn chỉnh, được cấu hình sẵn với Webpack để tối ưu bundle, Pnpm làm package manager, Fastify thay thế Express, cùng Swagger để tạo tài liệu API tự động. Ngoài ra, boilerplate này còn tích hợp sẵn các công cụ như ESLint, Prettier, Editorconfig, Husky, Lint-Staged, Commitlint, Axios và hỗ trợ triển khai với Docker.

✨ Điểm nổi bật

  • Bundling với Webpack: Tối ưu kích thước bundle, phù hợp với serverless và production.
  • Graceful Production Deployment: Hỗ trợ clustering, Docker, cấu hình môi trường chuẩn.
  • Unified API Response Structure: Cấu trúc phản hồi API đồng nhất qua interceptor.
  • Extreme Performance Optimize: Sử dụng Fastify, Pino Logger, alias path và tối ưu cấu hình TypeScript.
  • Fully Integrated Coding Quality Tools: ESLint (Airbnb style), Prettier, Editorconfig, Husky, Lint-Staged, Commitlint.
  • Swagger tích hợp sẵn: Tự động sinh tài liệu API.
  • Error Handling toàn diện: Filter xử lý exception, interceptor định dạng lỗi.
  • Alias Path: Cấu hình đường dẫn alias giúp code sạch và dễ bảo trì.

💡 Vì sao đáng chú ý

Khác với các boilerplate thông thường chỉ cung cấp cấu trúc cơ bản, dự án này tích hợp toàn bộ workflow chất lượng code từ linting, formatting đến commit chuẩn — giúp nhóm phát triển tuân thủ quy trình ngay từ ngày đầu. Đặc biệt, việc kết hợp Webpack giúp giảm đáng kể thời gian khởi động và kích thước ứ dụng khi triển khai production, trong khi clustering hỗ trợ tận dụng đa lõi CPU.

Phù hợp cho các dự án NestJS cần triển khai nhanh trên môi trường Docker, serverless hoặc production với yêu cầu hiệu năng cao và quy trình code nghiêm ngặt.


#NestJS #Webpack #TypeScript #Docker #Fastify #Swagger #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
vndevteam/nestjs-boilerplate

NestJS boilerplate with TypeORM, ExpressJS, Fastify, Jest, I18n & Vuepress docs

296
Oct 22, 2026
RepositoryTypeScript
gustavomorinaga/next-plate

🦸‍♀️ A super template for Next.js with a pack of incredible tools

118
Oct 13, 2026
RepositoryTypeScript
smarlhens/nest-boilerplate

Nest.js boilerplate with CircleCI, Commitizen, Commitlint, Docker-Compose, ESLint, GitHub Actions, Husky, Lint-staged, OpenAPI, Prettier, PostGreSQL, TypeORM

107
Oct 16, 2026
RepositoryHTML
joematthews/extreme-angular

A strict, opinionated Angular starter template: TypeScript, ESLint, Prettier, Stylelint, CSpell, Vitest, Git hooks, and GitHub Actions CI, configured to work together.

190
Sep 12, 2026
RepositoryTypeScript
immich-app/immich

High performance self-hosted photo and video management solution.

117.3k
Oct 26, 2026
RepositoryTypeScript
brocoders/nestjs-boilerplate

NestJS boilerplate. Auth, TypeORM, Mongoose, Postgres, MongoDB, Mailing, I18N, Docker.

4.4k
Oct 20, 2026
RepositoryTypeScript
theodorusclarence/ts-nextjs-tailwind-starter

🔋 Next.js + Tailwind CSS + TypeScript starter and boilerplate packed with useful development features

3.4k
Oct 22, 2026
RepositoryTypeScript
ts-rest/ts-rest

RPC-like client, contract, and server implementation for a pure REST API

3.3k
Feb 6, 2026
RepositoryTypeScript
squareboat/nestjs-boilerplate

A production-ready 🏭 NestJS boilerplate with batteries 🔋 included. No Kidding! Now Supports NestJS V10!!

789
May 19, 2025