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

회원가입 #1

Open
4 of 5 tasks
nyeJiiii opened this issue Jul 24, 2023 · 0 comments · May be fixed by #42 or #43
Open
4 of 5 tasks

회원가입 #1

nyeJiiii opened this issue Jul 24, 2023 · 0 comments · May be fixed by #42 or #43
Labels
enhancement New feature or request

Comments

@nyeJiiii
Copy link
Collaborator

nyeJiiii commented Jul 24, 2023

# 테이블

 CREATE TABLE login_tb (
      id         INT PRIMARY KEY AUTO_INCREMENT,
      user_id    INT         NOT NULL,
      ip         VARCHAR(50) NOT NULL,
      user_agent VARCHAR(10) NOT NULL,
      login_at   TIMESTAMP,

      FOREIGN KEY (user_id) REFERENCES user_tb(id)
  );

# API Rest

/**
 * @URL : /join
 * @Method: POST
 */

Request {
"email": "[[email protected]](mailto:[email protected])",
"position": "사원",
"joinDate": "2023-07-24",
"phoneNumber": "01012345678",
"password": "123123",
"username": "최수현"
}

Response {
  "success": true,
  "message": "회원가입이 완료되었습니다."
}

# 요구사항정의

  • 회원가입 양식대로 필드를 정의하고 테이블 생성
  • 개인정보 가 있는 경우(이름, 휴대폰번호, 이메일) 등 AES256 양방향 암호화 적용 필요
    (만약 AES256 적용시 추가로 개발하는 기능 중 해당 회원 정보를 조회하는 API에서 결과를 내려줄때는 복호화해서 내려줘야함)
  • 관련 필드에 DB 검색을 할 때도 검색조건을 암호화해서 대입해줘야함.
  • 비밀번호 단방향(Bcrypt) 암호화 적용
  • API 구현 필요
dali186 added a commit that referenced this issue Jul 25, 2023
공통 시간 entity 생성
dali186 added a commit that referenced this issue Jul 25, 2023
dali186 added a commit that referenced this issue Jul 25, 2023
dali186 added a commit that referenced this issue Jul 25, 2023
dali186 added a commit that referenced this issue Jul 25, 2023
dali186 added a commit that referenced this issue Jul 25, 2023
dali186 added a commit that referenced this issue Jul 25, 2023
@nyeJiiii nyeJiiii added the enhancement New feature or request label Jul 26, 2023
dali186 added a commit that referenced this issue Jul 27, 2023
dali186 added a commit that referenced this issue Jul 27, 2023
dali186 added a commit that referenced this issue Jul 27, 2023
dali186 added a commit that referenced this issue Jul 27, 2023
dali186 added a commit that referenced this issue Jul 27, 2023
암호화를 먼저 적용하면 헷갈릴 것 같아 주석처리 해뒀습니다
dali186 added a commit that referenced this issue Jul 27, 2023
dali186 added a commit that referenced this issue Jul 27, 2023
응답코드가 추가된 형태입니다
dali186 added a commit that referenced this issue Jul 27, 2023
nyeJiiii added a commit that referenced this issue Jul 27, 2023
nyeJiiii added a commit that referenced this issue Aug 2, 2023
feat:#1 response mapping 회원가입수정
@jinakim8 jinakim8 assigned jinakim8 and unassigned jinakim8 Aug 23, 2023
@jinakim8 jinakim8 linked a pull request Aug 23, 2023 that will close this issue
@jinakim8 jinakim8 removed a link to a pull request Aug 23, 2023
This was linked to pull requests Aug 23, 2023
@jinakim8 jinakim8 linked a pull request Aug 23, 2023 that will close this issue
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
2 participants