你知道 nestjs BE nodejs 框架的任何 REST 生成器吗?
Do you know any REST generator for nestjs BE nodejs framework?
我已经搜索过了,但一无所获
我试图找到 REST 生成器来从模型中生成控制器、服务、模块等,但这是没有希望的
Yii2中有没有类似Gii的生成器?
我想你正在寻找这个:https://docs.nestjs.com/cli/usages
例如,您可以使用 :
生成 user
服务
nest generate service users
您还可以看看这个 Yeoman 生成器:
https://github.com/ashinzekene/generator-nestjs-app
This generator helps you create a NestJS app with ease. It also comes with support for the following :
Decorators, Exceptions, Guards, Interceptors, Middlewares, Modules
或者您可以试试这个入门工具包:
https://github.com/rcanessa89/nest-js-starter
你绝对应该看看这个全栈 nest-js + Angular 生成器。
https://www.npmjs.com/package/generator-flare
它仍处于 Beta 阶段,但发展非常迅速。它搭建了一个带有 Passport 身份验证和 API 预配置身份验证保护的 Nest-js 服务器脚手架。
它还有一个实体生成器。您可以使用该实体生成器轻松创建实体。
我已经搜索过了,但一无所获 我试图找到 REST 生成器来从模型中生成控制器、服务、模块等,但这是没有希望的 Yii2中有没有类似Gii的生成器?
我想你正在寻找这个:https://docs.nestjs.com/cli/usages
例如,您可以使用 :
生成user
服务
nest generate service users
您还可以看看这个 Yeoman 生成器: https://github.com/ashinzekene/generator-nestjs-app
This generator helps you create a NestJS app with ease. It also comes with support for the following :
Decorators, Exceptions, Guards, Interceptors, Middlewares, Modules
或者您可以试试这个入门工具包: https://github.com/rcanessa89/nest-js-starter
你绝对应该看看这个全栈 nest-js + Angular 生成器。 https://www.npmjs.com/package/generator-flare
它仍处于 Beta 阶段,但发展非常迅速。它搭建了一个带有 Passport 身份验证和 API 预配置身份验证保护的 Nest-js 服务器脚手架。 它还有一个实体生成器。您可以使用该实体生成器轻松创建实体。