codestates / codestates/Hotair-server
[Server][Sprint02] /users/signup 회원가입
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### ISSUE
- Level: `Sprint02`
- Type: `API`, `POST`
- Detail: 회원가입에 관련한 로직 구상 및 API 생성
### TODO
1. [x] Request: username, email, phone, password
2. [x] Response:
- 201 Created : response token, message
- 400 Bad Request : response error messgae
-- if null/empty : request로 받은 값이 비워져 있을 경우
-- if invalid email : 이메일 형식의 값이 입력되지 않았을 경우
-- if password invalid : 비밀번호의 유효성이 어긋날 경우 (최소 8자 이상, 숫자포함)
-- if phone invalid : 핸드폰번호의 유효성이 어긋날 경우 (비밀번호 형식 충족
- 409 Conflict : response error message
- 500 Internal Server Error : response error
### Estimated time
### `2h`
### Labels
- Estimated time: `E: 2h`
- Part : `Server`
- Sprint: `Sprint02`
- Urgency:`Middle`
### Additional context
회원가입을 했을시 필수적으로 입력해야하는 값이 비워져 있거나 유효성이 어긋날 경우에 에러가 발생하도록 설정해 주었으며, 포스트 맨을 통해서 확인하였음.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.