[3주차] 남유정/[feat] 게시글 도메인 API 구현#100
Open
N-yujeong wants to merge 3 commits intoLeets-Official:남유정/mainfrom
Hidden character warning
The head ref may contain hidden characters: "\ub0a8\uc720\uc815/3\uc8fc\ucc28"
Open
[3주차] 남유정/[feat] 게시글 도메인 API 구현#100N-yujeong wants to merge 3 commits intoLeets-Official:남유정/mainfrom
N-yujeong wants to merge 3 commits intoLeets-Official:남유정/mainfrom
Conversation
gusanans218
approved these changes
Apr 8, 2026
gusanans218
left a comment
There was a problem hiding this comment.
전체적으로 구조가 잘 잡혀 있고 DTO 분리와 예외 처리, Swagger 적용까지 깔끔하게 구현되어 있어서 보기 좋았습니다!!
코드 가독성과 완성도 모두 좋은 것 같습니다 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. 과제 요구사항 중 구현한 내용
GET /api/posts)GET /api/posts/{postId})POST /api/posts)PATCH /api/posts/{postId})DELETE /api/posts/{postId})GET /health)POST /string/repeat)2. 핵심 변경 사항
PostControllerPostServicePostcategory,thumbnailImageUrl필드 추가,create()/update()팩토리·수정 메서드 추가CategoryCategoryRepository신규 추가ApiResponsesuccess,error,errors포함)GlobalExceptionHandlerPostNotFoundException,ForbiddenException,@Valid검증 오류, 타입 불일치 등 전역 처리SwaggerConfigDataInitializerdomain/string패키지 이동domain/string으로 이동 (도메인 패키지 구조 정리)3. 실행 및 검증 결과
4. 완료 사항
ApiResponse) 및 전역 예외 처리(GlobalExceptionHandler) 추가domain/string으로 이동)5. 추가 사항
제출 체크리스트
{이름}/main브랜치다{이름}/{숫자}주차브랜치다Reviewer 참고