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

회원가입 기능을 추가합니다 #25

Merged
merged 15 commits into from
Jul 29, 2023
Merged

Conversation

wisdom08
Copy link
Collaborator

작업 목적

  • 회원 가입 기능 구현

주요 변경점

  • 이전 초기 세팅 커밋에서 빼먹은 build.gradle 파일을 추가하고 회원가입 기능 구현까지 필요한 의존성을 추가했습니다.
  • POST /api/user 회원가입 API를 추가했습니다.
  • 패스워드 암호화는 jbcrypt 라이브러리를 사용해서 구현했습니다.

참고

  • 현재 회원가입 등록 테스트(UserServiceTest-signUp)의 경우, 아이디가 이미 등록된 경우에 실패하는 테스트입니다. 추후 testcontainer 도입을 통해 해결하면 어떨까 고민하고 있습니다.

@wisdom08 wisdom08 added the enhancement New feature or request label Jul 26, 2023
@wisdom08 wisdom08 added this to the 회원 관련 API milestone Jul 26, 2023
@wisdom08 wisdom08 self-assigned this Jul 26, 2023
Copy link
Contributor

@ccommit-dev ccommit-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리뷰 내용 확인 부탁드립니다.

build.gradle Show resolved Hide resolved
src/main/java/com/bookbook/controller/UserController.java Outdated Show resolved Hide resolved
src/main/java/com/bookbook/dto/SignUpRequest.java Outdated Show resolved Hide resolved
src/main/resources/mapper/userMapper.xml Outdated Show resolved Hide resolved
src/main/resources/mybatis-config.xml Outdated Show resolved Hide resolved
@wisdom08
Copy link
Collaborator Author

@ccommit-dev
안녕하세요 멘토님, 피드백 해주신 부분 반영하고, 궁금한 부분 코멘트로 질문드렸습니다.
확인부탁드립니다. 감사합니다.

@ccommit-dev
Copy link
Contributor

@wisdom08 질문주신 내용들 답변 드렸습니다. 해당 브랜치는 추가 질문들에 대한 답변을 해주신 후에 merge 해주시면 됩니다~

- DTO는 data transfer object, 이름 그대로 transfer 목적이기 때문에 암호화로직이 있는 건
객체지향적이지 못함
@wisdom08 wisdom08 merged commit 8634832 into main Jul 29, 2023
@wisdom08 wisdom08 deleted the issues/#5-user-signup branch July 29, 2023 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants