Manishkr1007 / WordWeaver

https://word-weaver-rho.vercel.app
MIT License
3 stars 7 forks source link

Feat: Add "Like" Functionality to Blog Posts #13

Open HarshadaGirase opened 3 days ago

HarshadaGirase commented 3 days ago

Description: To enhance user interaction and create more engagement within the blogging community on Word Weaver, this feature will allow users to "like" blog posts. Each user can express their appreciation for a post by clicking a like button, with the total number of likes displayed on the post. This feature provides direct feedback to content creators and encourages users to engage more actively.

Key Features: Like Button:

Add a "like" button at the bottom of every blog post with a recognizable icon (e.g., thumbs up, heart). The button should change state when clicked to visually indicate that the user has liked the post. Like Count Display:

Display the number of likes next to the like button, updating in real-time as users interact with the post. User-Specific Interaction:

Users should only be able to like a post once. If a user clicks the like button again, their like will be removed. The button will display a different color or style to indicate whether the user has already liked the post. Logged-In Users Only:

The like feature should be restricted to registered and logged-in users, motivating guest users to sign up and contribute.

Expected Behavior: Increased User Engagement: The like feature will give users a quick, simple way to interact with posts, likely increasing their overall participation. Author Feedback: Writers will gain valuable insights through the number of likes, helping them understand what content resonates most with readers. Encouragement for Account Creation: Limiting the feature to logged-in users will incentivize new account registrations, expanding the Word Weaver community.

56rahul commented 2 days ago

i would like to work on this project please assign to me