codestates / codestates/GatherCoding

[task] (post) (oauth 아닌 일반 회원가입)/signup API 요청 : 회원가입

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
1h server
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### ISSUE
- Group: `server`
-Type: `feature`
-Detail: `post('/signup')` 요청으로 전달받은 user 정보들을 db에 추가/ 이미 있다면 400번대 상태코드 응답

### TODO
1. [x] 클라이언트로부터 `post('/signup')` 요청으로 전달받은 user 정보들을 db에 추가
2. [x] 유저정보가 이미 DB에 있으면 `409(conflict)` 상태코드로 응답
3. [x] 필요한 유저정보가 요청으로부터 누락되어 있다면 `422(unprocessable entity)`상태코드로 응답
4. [x] 회원가입 요청이 성공하면 상태코드 201과 ` jwt `토큰이 응답에 포함

### Estimated time
>Pick one

### `1.5h`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.