Skip to content

Add Complete Comment Section (Frontend + Backend)#23

Open
Raaaaahil wants to merge 2 commits intofrazhaidry:mainfrom
Raaaaahil:main
Open

Add Complete Comment Section (Frontend + Backend)#23
Raaaaahil wants to merge 2 commits intofrazhaidry:mainfrom
Raaaaahil:main

Conversation

@Raaaaahil
Copy link
Copy Markdown

🧩 Summary

Added a complete comment system integrated with both frontend and backend.

🔧 Backend:

  • Created Comment.model.js, comment.controller.js, and comment.routes.js
  • Linked comments with posts and users using Mongoose.
  • Integrated routes in main app file.

💻 Frontend:

  • Built Comments.jsx component.
  • Integrated with backend comment APIs.
  • Added posting, deleting, and live-refresh features.
  • Fixed text visibility in dark mode.

✅ Testing

  • Verified comment posting, fetching, and deletion.
  • Tested in both dark/light mode.
  • Ensured user authentication before posting.

Closes #6

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

Successfully merging this pull request may close these issues.

Add Comment Section in Docs

1 participant