Nest JS 첫 단계
#
NestJs 구조- src
- app.controller.ts
- app.controller.spec.ts
- app.module.ts
- app.service.ts
- main.ts
파일 | 설명 |
---|---|
app.controller.ts | 컨트롤러로 단일 라우터 역할 |
app.controller.spec.ts | 컨트롤러의 단위 테스트 |
app.module.ts | 어플리케이션의 루트 모듈 |
app.service.ts | 서비스로 단일 매서드 역할 |
main.ts | Nest 애플리케이션 인스턴스를 생성하기 위해 핵심 기능 NestFactory를 사용하는 애플리케이션의 메인을 담당 |