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

사용자 프로필 관리 기능 구현 #21

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Conversation

YehyeokBang
Copy link
Contributor

요약

서비스에서 보여지는 사용자의 정보를 프로필로 분리하고, 관리하는 API를 구현했습니다.

내용

  • 프로필 추가
  • 프로필 관리 API 구현
  • 테스트 코드 추가

프로필

  • 닉네임, 프로필 사진, 자기소개를 의미합니다.
  • 여기서 닉네임 대신 displayName 라고 사용합니다.
  • nickname필드는 OAuth 계정의 이름을 의미합니다. 즉, 서비스에서 사용자를 표시하는 이름은 displayName입니다.
  • 프로필은 값 타입으로 선언되어 있습니다. Profile

닉네임 중복 관련

  • 오해를 방지하기 위해 닉네임 중복을 허용하지 않습니다.
  • 중복을 허용하지 않으면서, OAuth 계정의 닉네임(주로 사용자의 실명)을 서비스 닉네임으로 사용할 수 없었습니다. (동명이인 등)
  • UUID나 해시태그와 같이 고유하게 만드는 것도 생각해봤지만, 이는 디자인을 해칠 수 있기 때문에 보류되었습니다.
  • 따라서 서비스에 표시될 이름을 따로 추가했습니다.

흐름 예시

  1. OAuth 기반 로그인을 수행하면 displayNamedescription이 비어 있습니다.
  2. 비어있는 경우 서비스에서 사용될 이름(필수)과 자기소개(선택)란을 채울 수 있게 해주시면 될 것 같습니다. @khj0426

- 사용자 프로필을 분리합니다.
- nickname은 OAuth 계정의 닉네임입니다.
- displayName은 서비스에서 보여지는 이름입니다.
@YehyeokBang YehyeokBang added the ✨ Feature 기능 개발 label Oct 13, 2024
@YehyeokBang YehyeokBang self-assigned this Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant