Open Codipk opened 4 days ago
@Aryan10 ,You can start working on this issue. After you complete the task, create a pull request (PR) and make sure to attach a screenshot of your work on the website to showcase what you've done.
@Aryan10 write here comment so that I can make you asignee
Hello sir, can you assign this to me?
Description
We need to implement a real-time comment section for user complaints, allowing users to upvote and downvote comments. Both comments and vote counts (upvotes/downvotes) should update for all users connected to the system in real time, ensuring smooth communication, interaction, and feedback.
Features:
1.Real-Time Updates: Comments, upvotes, and downvotes should be sent and received in real time without requiring page reloads. 2.Upvote/Downvote Feature: Users should be able to upvote and downvote comments, with vote counts updating instantly across all connected users.
Technical Details:
Backend: Use Node.js and Express to handle server-side logic. Manage upvote/downvote actions through Socket.io to ensure real-time updates. Store votes in a database for persistence. Real-Time Communication: Use Socket.io to manage both real-time comment updates and voting actions (upvote/downvote). Ensure changes to vote counts are broadcasted to all connected users immediately. Frontend: Dynamically update comments and vote counts using React without requiring a page reload. Display upvote/downvote buttons for each comment, along with real-time vote counts.