Skip to content

feat: 프로필 조회/수정 API 구현 - #14

Merged
zzuhannn merged 7 commits into
developfrom
feat/#13
Apr 30, 2026
Merged

feat: 프로필 조회/수정 API 구현#14
zzuhannn merged 7 commits into
developfrom
feat/#13

Conversation

@zzuhannn

@zzuhannn zzuhannn commented Apr 5, 2026

Copy link
Copy Markdown
Member

🔎 관련 이슈



📋 작업 내용

  • User 엔티티에 updateProfile() 비즈니스 메서드 추가
  • 프로필 조회/수정 DTO 추가 (ProfileRes, ProfileUpdateReq)
  • UserService 인터페이스 및 구현체 추가
  • UserController 추가
    • GET /api/users/profile — 프로필 조회 (username, gender, age)
    • PUT /api/users/profile — 프로필 수정 (gender, age)



💡 알림

  • 프로필 사진, 효과음/배경음악, 동화 목소리 설정은 추후 별도 이슈로 진행



✅ 체크리스트

  • 빌드 성공 확인 (./gradlew build -x test)
  • 테스트 케이스 통과됨
  • 관련 문서와 코드 내용이 동일함
    • 엔드포인트 체크
    • Http Method 체크



📸 스크린샷

노션참고

@zzuhannn zzuhannn self-assigned this Apr 5, 2026
zzuhannn added 2 commits April 5, 2026 18:12
@authuser로 주입된 User가 detached 상태일 수 있어
dirty checking이 작동하지 않는 문제를
UserRepository.findById()로 managed 엔티티를 다시 조회하여 해결

@Joonseok-Lee Joonseok-Lee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Joonseok-Lee
Joonseok-Lee requested a review from LgE02 April 8, 2026 08:53
@zzuhannn
zzuhannn merged commit 76f47b7 into develop Apr 30, 2026
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.

2 participants