akshitagupta15june / PetMe-Prod

PetMe-Prod is an all-in-one platform that allows animals to be adopted, donated to pet lovers, and provides emergency medical care to stray animals in need.
https://pet-me-prod-pet-me-frontend.vercel.app/
MIT License
16 stars 34 forks source link

Add functionality like comments and upvotes/downvotes to the blog in the Backend #17

Open cb7chaitanya opened 3 months ago

cb7chaitanya commented 3 months ago

Follow the existing folder structure and architecture of the project Post request-response here after testing your endpoint in Postman or ThunderClient

uchiha-vivek commented 3 months ago

@cb7chaitanya I can make the functionality like comments/upvotes/downvotes to the blog in backend. Subsequently one has to also make routes and controllers for it. Also one has to insert features in Schema like comment-content,upVotes,downVotes and timestamp for creation and updation. API'S can be tested with help of Postman before pushing the code.

I understand this issue and would be grateful if @cb7chaitanya you can assign me this issue.

Thank you !

cb7chaitanya commented 3 months ago

Not only routes and controllers but also add the model layer and service layer to the API endpoint, you can take reference of the existing code to understand the flow and pattern, basically keep the coding practices we have used consisted throughout the codebase

Also as it is a set of new routes, add the route + req-res for every endpoint you create, would add it in the API doc

TammyAlok2 commented 3 months ago

Give this task to me

cb7chaitanya commented 3 months ago

@uchiha-vivek Waiting for you to respond till today afternoon, if you don't would assign it to @TammyAlok2

uchiha-vivek commented 3 months ago

@cb7chaitanya Please assign the issue to @TammyAlok2 .

cb7chaitanya commented 3 months ago

Ok, you can start working on this @TammyAlok2

pratham-srivastava-07 commented 3 months ago

update!? @TammyAlok2