Skip to content

Conversation

@joyewon0705
Copy link
Collaborator

📌 개요

  • 로그인한 사용자가 자신의 활동 내역(게시글 / 댓글 / 북마크 게시글) 을 확인할 수 있는 기능을 추가했습니다.
  • 각 기능은 Controller, Service, Repository, DTO, Swagger 문서, 단위/통합 테스트까지 포함합니다.

🔨 작업 내용

1. 내 게시글 목록 조회 (/api/users/me/posts)

  • 작성한 게시글 목록 조회 (최신순 정렬)
  • UserService#getMyPosts(Long, Pageable) 구현
  • Swagger 문서 및 단위/컨트롤러 테스트 추가

2. 내 댓글 목록 조회 (/api/users/me/comments)

  • 작성한 댓글 목록 조회 (부모/자식 관계 포함)
  • UserService#getMyComments(Long, Pageable) 구현
  • 댓글 DTO(MyCommentResponse) 추가
  • Swagger 문서 및 테스트 추가

3. 내 북마크 게시글 목록 조회 (/api/users/me/bookmarks)

  • 북마크한 게시글 목록 조회 (최신순 정렬)
  • UserService#getMyBookmarks(Long, Pageable) 구현
  • Swagger 문서 및 테스트 추가

🔗 관련 이슈

Closes #243

📝 참고 사항

  • 향후 QueryDSL을 활용한 N+1 최적화 및 fetch 조인 개선 예정입니다.

✅ 체크리스트

  • 기능 동작 확인
  • 테스트 코드 작성
  • 문서/주석 추가 및 최신화

@github-actions github-actions bot changed the title Feat: 내 게시글/댓글/북마크 목록 조회 API 구현 Feat: 내 게시글/댓글/북마크 목록 조회 API 구현 (#243) Oct 12, 2025
@joyewon0705 joyewon0705 merged commit e8511df into dev Oct 12, 2025
3 checks passed
@github-actions github-actions bot deleted the Feat/243 branch October 12, 2025 09:50
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.

5 participants