codestates / codestates/Hotair-server

[Server][Sprint02] /likes/clickLike 특정채팅 좋아요누르기

Open
#13 0 comments 0 reactions 2 assignees Claimed by @jha0402 View on GitHub
Back-end Bare minimum Sprint 2
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: chatId, uuid
2. [x] Response:
- 200 OK : response likeCount

- 400 Bad Request : response error messgae

- 500 Internal Server Error : response error

### Estimated time
### `2h`

### Labels
- Estimated time: `E: 2h`
- Part : `Server`
- Sprint: `Sprint02`
- Urgency:`Middle`

### Additional context
특정 채팅에 좋아요를 누르게되면 좋아요 숫자가 1씩 증가되도록 구현함.
이때 기존에 이미 같은 채팅글에 좋아요를 누른 사람이 중복으로 누를 수 없게 함.

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.