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

Implement likes functionality #23

Open
shreyasgoyal213 opened this issue Nov 15, 2023 · 0 comments
Open

Implement likes functionality #23

shreyasgoyal213 opened this issue Nov 15, 2023 · 0 comments

Comments

@shreyasgoyal213
Copy link
Contributor

shreyasgoyal213 commented Nov 15, 2023

Implement the frontend for the likes functionality.

Overview

  • If a user clicks the 'like' button on a post, call the endpoint that adds the user to the likes of the post. Also, add an indication that the post has been liked, such as fill the heart with pink.
  • Should show a post as 'liked' if the user has previously liked the post.
  • A user should be able to remove their like from a post by clicking the like button again. Call the endpoint that removes the user from the likes list of the post.

Additional Features

  • Should be able to like a post by double-clicking it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant