Skip to content

Conversation

@alsdn1360
Copy link
Contributor

🚀 개요 (Overview)

[ resolves #31 ]

  • 사용자의 서비스 회원 탈퇴를 위한 API 구현

🔎 변경사항 (Changes)

  • api/user/me DELETE -> 서비스 회원 탈퇴 API 추가
    • 스터디장으로 되어있는 스터디가 하나라도 있으면 탈퇴가 안되게 함

@alsdn1360 alsdn1360 self-assigned this Jan 22, 2026
@alsdn1360 alsdn1360 linked an issue Jan 22, 2026 that may be closed by this pull request
4 tasks
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

전반적으로 회원 탈퇴 기능이 잘 구현되었습니다. 스터디장인 경우 탈퇴를 막는 로직과 인증 쿠키를 삭제하는 처리가 포함된 점이 좋습니다.

코드의 유지보수성과 일관성을 높이기 위해 몇 가지 개선점을 제안합니다. 주요 내용은 다음과 같습니다:

  • 비즈니스 로직을 서비스 레이어로 분리하여 뷰의 역할을 명확히 하는 것을 제안합니다.
  • API 응답 형식을 스웨거(OpenAPI) 문서와 일치시키는 것이 좋습니다.
  • 하드코딩된 문자열을 상수로 정의하여 가독성과 유지보수성을 향상시키는 방안을 제안합니다.

자세한 내용은 각 파일의 코드 리뷰 코멘트를 참고해주세요.

- 쿠키 이름 상수화
- 스터디장이 회원 탈퇴할 때 발생하는 에러의 리스폰스에 스터디 목록 추가
@alsdn1360 alsdn1360 merged commit a45600f into dev Jan 23, 2026
@alsdn1360 alsdn1360 deleted the feat/user-profile-api branch January 23, 2026 03:30
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.

사용자 닉네임 수정 및 서비스 탈퇴 API 구현

2 participants