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

[FEAT] 좋아요 추가/삭제 #21

Closed
4 tasks done
hujumee opened this issue Jul 16, 2022 · 0 comments
Closed
4 tasks done

[FEAT] 좋아요 추가/삭제 #21

hujumee opened this issue Jul 16, 2022 · 0 comments
Assignees
Labels
✨CREATE issue - CRUD ✨DELETE issue - crud FEAT pr - 새기능 추가 🌊유정🌊 담당자 태그

Comments

@hujumee
Copy link
Contributor

hujumee commented Jul 16, 2022

🎧 PROGRESS

  • router 구현
  • controller 구현
  • service 구현
  • DTO 생성

🎙 RELATED ISSUE? PR!?

🎺 NOTE

기존의 카드뷰 리스폰스를 기준으로 클라이언트가 post/delete 여부를 판단합니다.
isLiked가 true이면 delete 요청을, isLiked가 false이면 post 요청을 보냅니다.
post -> 해당 유저의 likeList에 뮤멘트 객체 추가, likeCount +1
delete -> 해당 유저의 likeList에 해당 뮤멘트 객체 삭제, likeCount -1

@hujumee hujumee added 🌊유정🌊 담당자 태그 FEAT pr - 새기능 추가 ✨CREATE issue - CRUD ✨DELETE issue - crud labels Jul 16, 2022
@hujumee hujumee self-assigned this Jul 16, 2022
hujumee added a commit that referenced this issue Jul 17, 2022
@hujumee hujumee closed this as completed Jul 17, 2022
hujumee added a commit that referenced this issue Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨CREATE issue - CRUD ✨DELETE issue - crud FEAT pr - 새기능 추가 🌊유정🌊 담당자 태그
Projects
None yet
Development

No branches or pull requests

1 participant