15장 댓글 컨트롤러와 서비스 만들기 앞의 14장에서 엔티티와 리파지터리를 생성했다. 이번에는 댓글 CRUD를 위한 REST API를 완성할 것이다. API 주소 설계는 다음과 같다. GET /articles/articleId/comments POST /articles/articleId/comments PATCH /comments/id DELETE /comments/id 컨트롤러&서비스 틀 만들기 댓글 컨트롤러와 서비스 틀을 만들것이다. REST 컨트롤러는 api 패키지 안에 생성. CommentApiController.java @RestController public class CommentApiController { @Autowired private CommentService commentServic..