Skip to content

Conversation

@joyewon0705
Copy link
Collaborator

📌 개요

  • 기존 domain.user 패키지의 책임이 혼재되어 있던 구조를 개선했습니다.
  • 인증/인가(auth), 계정 관리(account), 공통 리소스(common)를 분리하여 도메인 응집도를 높이고, 의존성을 명확히 했습니다.

🔨 작업 내용

1. 패키지 구조 리팩토링

  • domain.user.auth → 인증, 로그인, 토큰, 이메일 관련 기능
  • domain.user.account/users/me 기반 내 계정 관리 기능
  • domain.user.common → 공용 엔티티, 레포지토리, 유틸, Enum

2. 주요 클래스 이동 및 명칭 변경

  • common.enums, controller.docs 분리
  • CookieUtil, PasswordValidatordomain.user.common.util로 이동하여 사용자 도메인 내 응집성 강화
  • UserControllerAccountController
  • UserServiceAccountService
  • 모든 테스트 및 서비스 클래스의 import 경로 수정 완료

🔗 관련 이슈

Closes #276

📝 참고 사항

  • 기능 로직 변경 없음 (리팩토링 전과 동일하게 동작)

✅ 체크리스트

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

@github-actions github-actions bot changed the title Refactor: user 패키지 구조 개선 Refactor: user 패키지 구조 개선 (#276) Oct 14, 2025
@joyewon0705 joyewon0705 force-pushed the Refactor/276 branch 2 times, most recently from 82ad80a to f93f5a8 Compare October 14, 2025 07:51
@joyewon0705 joyewon0705 merged commit de9869c into dev Oct 14, 2025
3 checks passed
@github-actions github-actions bot deleted the Refactor/276 branch October 14, 2025 08:20
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