NestJS 是一个渐进式 Node.js 框架,用于构建可扩展、易维护的服务端应用。它使用 TypeScript 构建,为 Node 后端带来强大的架构和结构 — 深受 Angular 启发(装饰器、依赖注入、模块)。
为什么这很重要
text
Node/Express gives you total freedom but NO structure → large apps become
inconsistent, hard to maintain, and lack standard patterns.
NestJS imposes an opinionated, modular architecture so teams build
consistently and scalably.
Express 没有固定的观点 — 每个团队都发明自己的文件夹结构、DI 方法和规范。NestJS 提供,这对大型应用和团队很有价值。
