nest-cli.json 에서 루트설정 변경가능
{
"collection": "@nestjs/schematics",
"sourceRoot": "src/apis"
}
- nest -h : @nestjs/schematics 콜렉션 보기
nest g mo boards
nest g co boards --no-spec
nest g s boards --no-spec
- nest g res boards --no-spec
? What transport layer do you use? (Use arrow keys)
❯ REST API
GraphQL (code first)
GraphQL (schema first)
Microservice (non-HTTP)
WebSockets