[3주차] 조연준/[feat] 게시글 도메인 API 구현#108
Open
yeonjuncho wants to merge 1 commit intoLeets-Official:조연준/mainfrom
Hidden character warning
The head ref may contain hidden characters: "\uc870\uc5f0\uc900/3\uc8fc\ucc28"
Open
[3주차] 조연준/[feat] 게시글 도메인 API 구현#108yeonjuncho wants to merge 1 commit intoLeets-Official:조연준/mainfrom
yeonjuncho wants to merge 1 commit intoLeets-Official:조연준/mainfrom
Conversation
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 /posts)GET /posts/{postId})POST /posts)PUT /posts/{postId})DELETE /posts/{postId})2. 핵심 변경 사항
PostController,PostService,PostRepository를 추가하여 게시글 CRUD API를 구현했습니다.isSuccess,code,message,result)을 적용했습니다.GlobalExceptionHandler를 통해 Validation 실패와 존재하지 않는 게시글 조회/수정/삭제에 대한 예외 처리를 구현했습니다.Post엔티티에content,active,deletedAt,update,softDelete를 반영하여 API 동작에 맞게 수정했습니다.3. 실행 및 검증 결과
bootRun확인GET /posts응답:GET /posts/{postId}응답:POST /posts요청/응답:PUT /posts/{postId},DELETE /posts/{postId}:4. 완료 사항
5. 추가 사항
closes #107제출 체크리스트
{이름}/main브랜치다{이름}/{숫자}주차브랜치다Reviewer 참고