adityabisoi/json-hub

Add PATCH method

Closed this issue · 17 comments

Currently, the project supports the following operations: GET

Add PATCH method to the existing /users endpoint.

The method should not manipulate the data in the database. It should send the same data that is incoming, with a positive response code.

@adityabisoi Should the patch request actually change the resource in the DB or just check if a user with that id exists in the DB and return the patched version based on the constrains ?

I'd like to work on this issue @adityabisoi

@kaushik-rishi None of the methods should actually change the date on the DB.

Got it. Will try working on this.

I would like to work on this please assign it to me.

@adityabisoi Any particular reason for using promises over async await?

@namansamra This issue is already assigned. Please take up a different one.

@kaushik-rishi Please ask your queries in the discord server.

Okay. I couldn't find your ID I'll just ask in the projects section @adityabisoi

Otherwise, you can start a discussion here https://github.com/adityabisoi/REST-fetch/discussions

@kaushik-rishi Are you working on this?

Yes. I'm working on this. @adityabisoi
But I need to add some fake user data which is a part of another issue which isn't resolved yet, So i made a 100 fake unique users.
I'll add the method soon.

Unassigning @kaushik-rishi due to inactivity. This issue is open for new contributors.

@adityabisoi @paramsiddharth hey, I would like to work on this issue.

@adityabisoi @paramsiddharth hey, I would like to work on this issue.

You can start working on it! :) You'll be assigned as soon as #64 is merged.

@paramsiddharth my PR has been merged can plz you assign me this issue now?