Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望提供自动生成命令创建微服务项目的模块 #122

Open
lyd0 opened this issue Feb 16, 2022 · 1 comment
Open

希望提供自动生成命令创建微服务项目的模块 #122

lyd0 opened this issue Feb 16, 2022 · 1 comment

Comments

@lyd0
Copy link

lyd0 commented Feb 16, 2022

目前我在创建新service的时候通过复制粘贴的形式创建,因为不熟悉项目结构有几率出bug。
希望能够提到类似nest g service XX的命令,用来自动创建一个名为XX的service模块。

@lyd0 lyd0 changed the title 希望提供自动生成命令创建微服务的模块 希望提供自动生成命令创建微服务项目的模块 Feb 16, 2022
@muxiangqiu
Copy link
Member

nestjs是,如果你原本是一个标准项目,而你后面又想增加一个应用程序,首先会把你的标准项目变成monorepo结构,默认情况下会在根目录创建一个APPS(当然你也可以自己命名),然后把原来的标准项目和刚刚生成的项目统一放在apps里面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants