NESTJS 만들기 프로젝트 1TODO 프로젝트 생성 ( 아래 명령으로 nest project 생성)nest new todo todo 리소스 생성 ( resource 명령을 사용하면 entity, controller, module, dto가 생성된다)nest g res todoor nest generate resource todo filter + validate 모듈 설치 npm i --save class-validator class-transformer filter + validate 적용// main.tsasync function bootstrap() { const app = await NestFactory.create(AppModule); app.useGlobalPipes( // Todo..
개발/Nestjs
2021. 5. 12. 23:21
