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

Research direction

Start at the POST /signup entry point and trace how user information is stored in the database and how duplicate or incomplete requests are handled. The issue marks all TODO items complete; verify that successful requests return 201 with a JWT and that the specified 409 and 422 responses still match the requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, authentication, backend, database
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.