Open akibria-dev opened 1 year ago
Looks good!
Can you detail what DATA you will send to the API ENDPOINT and what API ENDPOINT you'll use to add/remove the likes?
The current API does not really do what you think: it doesn't store a list of userIds that liked a comment, it is slightly different to this. Unliking requires finding the Like object and marking it as unliked.
Done, can you please take a look @dogezen ?
Requirements
UI Approach
Code structure
Wireframe
The wireframe doesn't exist for this yet
UI Functionality
{{ _.base_url }}/posts/commentLike
usingclient.js
{{ _.base_url }}/posts/9/comment/13/commentLike
usingclient.js
{{ _.base_url }}/posts/9/comment/12/commentLike
with the following