Repository navigation
feat: 자체 로그인(회원가입/로그인) 구현 (#4) - #5
Closed
leedong0923 wants to merge 1 commit into
Closed
leedong0923 wants to merge 1 commit into
leedong0923 wants to merge 1 commit into
Conversation
11 tasks
Contributor
|
기존 회원 데이터가 있는지만 한번 확인. nickname을 바로 NOT NULL로 추가하면 기존 회원이 있는 DB에서는 컬럼 추가가 실패하고 로그인도 500으로 깨질 수 있어. 데이터가 있으면 빈 값 허용으로 컬럼 추가 -> 기존 회원 닉네임 채우기 -> NOT NULL 적용 순서로 처리해야 해. 아직 공용 서버도 없어서 지금 당장 막을 문제는 아닐 것 같고, 로컬 DB에 테스트로 만들어둔 회원이 있는지만 확인하면 될 듯. 이런 엣지케이스가 있다는 정도로 알아두면 돼. |
hrxlou
approved these changes
Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
이메일/비밀번호 기반 자체 회원가입·로그인 기능을 구현했습니다. 회원가입 시 이메일 중복 검사와 비밀번호 해시 처리를 하고, 로그인 성공 시 JWT를 발급합니다. 로그인 실패는 401로, 입력값 검증 실패는 400 + 필드별 에러 메시지로 응답하도록 구분했습니다.
Tasks
Verification
To Reviewer