Skip to content

[3주차] 정대교/[feat] 게시글 도메인 API 구현#113

Open
daekyochung wants to merge 2 commits intoLeets-Official:정대교/mainfrom
daekyochung:정대교/3주차

Hidden character warning

The head ref may contain hidden characters: "\uc815\ub300\uad50/3\uc8fc\ucc28"
Open

[3주차] 정대교/[feat] 게시글 도메인 API 구현#113
daekyochung wants to merge 2 commits intoLeets-Official:정대교/mainfrom
daekyochung:정대교/3주차

Conversation

@daekyochung
Copy link
Copy Markdown

@daekyochung daekyochung commented Apr 7, 2026

1. 과제 요구사항 중 구현한 내용

  • Post CRUD API 구현 (Controller/Service 레이어 변경)
  • 에러처리 API 구현 ('GET /health')
  • 문제점 2개 변경 API 구현 ('POST /string/repeat')
  • 공통 추가 구현 내용 (전체)

2. 핵심 변경 사항

  • GlobalExceptionHandler 및 Custom Exception 클래스 추가
  • PostListResponse, PostResponse 등 DTO 구현
  • 조회수 증가 기능 (increaseViewCount) 추가

3. 실행 및 검증 결과

구현 내용:

  • GET /posts - 게시글 목록 조회 (pagination)
  • GET /posts/{postId} - 게시글 상세 조회
  • POST /posts - 게시글 작성
  • PUT /posts/{postId} - 게시글 수정
  • DELETE /posts/{postId} - 게시글 삭제
image image image image

4. 완료 사항

  1. Build successful

5. 추가 사항

  • 관련 이슈: closed #이슈번호

제출 체크리스트

  • PR 제목이 규칙에 맞다
  • base가 {이름}/main 브랜치다
  • compare가 {이름}/{숫자}주차 브랜치다
  • 프로젝트가 정상 실행된다
  • 본인을 Assignee로 지정했다
  • 파트 담당 Reviewer를 지정했다
  • 리뷰 피드백을 반영한 뒤 머지/PR close를 진행한다

Reviewer 참고

@daekyochung daekyochung requested a review from a team April 7, 2026 13:53
@daekyochung daekyochung self-assigned this Apr 7, 2026
@daekyochung daekyochung changed the title 3주차 과제: [3주차] 정대교/[feat] 게시글 도메인 API 구현 [3주차] 정대교/[feat] 게시글 도메인 API 구현 Apr 7, 2026
- Post Entity nullable 설정 수정
- PostListResponse null 처리 추가
- API 테스트 완료 (POST, GET, PUT, DELETE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant