Foreword:
First switch the npm mirror source to Alibaba, otherwise the download will be very slow:
npm config set registry https://registry.npm.taobao.org
npm config get registry
nestJS的中文文档:https://docs.nestjs.cn/10/introduction
1.Create file
First create a folder: nestDemo
npm i -g @nestjs/cli nest new project-name
Execute the above two commands, then select npm, and then create the project
2. Run the project
Access test:
3.JWT authentication
Nest framework token login and token verification-CSDN Blog