Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat][#1] 사용자 관련 API 구현 #4

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

mjeongriver
Copy link
Collaborator

@mjeongriver mjeongriver commented Feb 17, 2025

관련 이슈

resolve : #1

작업 내용

  • 프로젝트 구조 설정
  • 일반 사용자
  • 회원가입
  • 내 정보 조회
  • 내 정보 수정
  • 내 계정 삭제
  • 관리자 API 추가
  • 특정 사용자 조회
  • 모든 사용자 조회
  • 특정 사용자 삭제
  • 특정 사용자 활성화

참고사항

  1. 회원 삭제 방식 변경
    회원 삭제 시 PATCH 메서드를 사용해서 isActive 필드를 업데이트하도록 변경하였습니다.

    1.1. PATCH 메서드 선택 이유
    - 기존에는 DELETE 메서드를 사용할지 고민했으나, 회원 데이터를 완전히 삭제하는 대신 비활성화하는 방식을 적용하기 위해 PATCH 메서드를 선택하였습니다.
    - 이를 통해 회원 데이터를 유지하면서 복구가 가능하도록 하였습니다.

    1.2. 비활성화된 회원 처리 방식
    - isActive = false 상태인 사용자는 로그인 등 주요 기능이 제한됩니다.
    - 운영 관리에서 비활성화된 회원을 조회하거나, 일정 기간 이후 완전히 삭제하는 배치 처리를 적용하는 방안을 고려할 수 있습니다.

@mjeongriver mjeongriver marked this pull request as ready for review February 19, 2025 05:51
@mjeongriver mjeongriver reopened this Feb 19, 2025
@mjeongriver mjeongriver marked this pull request as draft February 19, 2025 06:25
@mjeongriver mjeongriver changed the title Feature/1 user crud [feat][#1] 사용자 관련 API 구현 Feb 19, 2025
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

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.

[Feat] 사용자 관련 API 구현
1 participant