Skip to content

[Feature Request]: Allow likes to Blog Posts #58

@victoria-lo

Description

@victoria-lo

Describe the solution you'd like

Currently, our community blog don't have a "Like" feature so our members cannot like the article to show support. It will be nice to have this feature just like other blogging platforms like Hashnode.

For example, platforms like Hashnode and Dev.to allow users to like or react to blog posts, which helps foster community interaction.

Image

Suggested Implementation

  • Implement a simple "Like" button for each article.
  • Display the total number of likes beside it.
  • No login required (this can be a future feature)
  • Each user can give up to 10 likes per articles (like Hashnode)
  • Likes should persist even after the user refreshes or revisits the site

Additional context

  • A visible "Like" button appears for every article.
  • Clicking the button increases the article’s like count by 1.
  • The total number of likes displays beside the button.
  • A user can only give a maximum of 10 likes per article
  • When a user returns to the site, their previous likes are remembered.
  • The button visually indicates when a user has already liked an article.
  • Unliking an article (if implemented) decreases the count and frees up one like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthacktoberfestIssues created for hacktoberfest

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions