Open Riddhi050803 opened 1 month ago
can you explain a little bit like where do you want those blogs to be published etc. and i am up for the task and can do it easily please assign
\assign
Hey @SanidhyaSharma28 we're storing blog posts in MongoDB, and they're relatively small (similar to the size of Twitter posts). We’re thinking of using a separate schema for the comments. We would display the comments in some form of modal which users can click to view or add. Could you help with setting up both the backend and frontend for the comments?
We need to implement a basic comment feature for our blog section. This requires both front-end and backend development.
Requirements: Frontend:
Add a simple comment input box below each blog post, similar to social media apps, where users can type their comments and submit it directly. Display comments in a list format below the input box, showing the most recent comments first. Basic validation (e.g., no empty comments). No need for advanced features like replies, likes, or upvotes. Backend:
Create an API to handle basic comment submissions. Store comments in the database with fields like comment text, timestamp, and author (if applicable). API routes for fetching and posting comments.
Require developers for this task.