-
Notifications
You must be signed in to change notification settings - Fork 22
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
[3주차 과제] 이수정 #40
Open
sujeong11
wants to merge
29
commits into
DKU-D-Coding:main
Choose a base branch
from
sujeong11:sujeong-3주차
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
The head ref may contain hidden characters: "sujeong-3\uC8FC\uCC28"
Open
[3주차 과제] 이수정 #40
Conversation
This file contains 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
- SignUpRequest를 @RequestBody로 입력받아 validation을 검사 하고, 이상이 없으면 UserService의 signUp()으로 입력값을 전달해 이메일이 이미 가입되어 있는지 확인하고 가입되어 있지 않다면 비밀번호를 암호화하고 DB에 저장함 - DB에 입력받은 이메일이 존재하는 확인하기 위해 JPA 에 쿼리 메서드 existsByEmail(String email)을 정의함 - 휴대폰 번호 형식에 대한 validation 추가 - token을 사용할 예정이므로 시큐리티 설정 파일에 세션을 사용 하지 않는 설정과 CSRF 비활성화 추가
- enum으로 에러의 상태코드와 메시지를 정의하고 에러 발생 시 @RestControllerAdvice와 @ExceptionHandler를 사용해 처리되도록 코드 작성
|
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.
이번 주에 어떤 작업을 했는지 설명해주세요.
특히 어떤 부분을 리뷰받고 싶나요?
이번 주는 어떻게 학습했나요? 아래 질문에 짧게 답변주세요!
이번 주에 학습에 투자한 시간
학습 하면서 좋았던 점과 아쉬웠던 점
어려움을 겪는 부분
스터디 개선되었으면 하는 점