📅  最后修改于: 2023-12-03 15:03:09.611000             🧑  作者: Mango
NestJS is a progressive web framework for building efficient, reliable and scalable server-side applications using Node.js and TypeScript. The framework is built with the aim of creating a highly testable, scalable, and modular application architecture that follows strong conventions and patterns.
The framework is based on Angular's architecture and borrows concepts such as services, controllers, modules, and decorators. Also, it leverages JavaScript decorators to add metadata to classes for generating routes, injecting dependencies, and configuring the HTTP server.
To get started with NestJS, you need to have Node.js and npm installed on your system. You can then use the following commands to create a new NestJS project:
$ npm i -g @nestjs/cli
$ nest new project-name
This will create a new project with the required boilerplate code and directory structure.
NestJS is an excellent choice for building server-side applications on Node.js, especially if you want a framework with a modular structure, support for TypeScript, easy testing, and dependency injection. Give it a try, and you might find it the perfect solution for your needs.
Note: For more information, check out the official NestJS docs here.