03. Nestjs - CRUD API
"nest g res 서비스이름" 으로 해당 entity, controller, service, dto 를 만든다.
해당 서비스 모듈에 entity, controller, service를 연결한다.
entity 에 데이터 테이블 구조를 작성한다.
controller 에 service 에 넘겨줄 url, query, body 등을 작성한다.
service 에 함수를 작성한다.
Single-responsibility principle (S...
cyleemusic.hashnode.dev3 min read