Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Basic Route for Update User by ID #90

Open
reimannsarah opened this issue Aug 29, 2023 · 0 comments
Open

Implement Basic Route for Update User by ID #90

reimannsarah opened this issue Aug 29, 2023 · 0 comments
Assignees

Comments

@reimannsarah
Copy link

What this is

This task is to implement a basic route for updating a user by ID using Express routing.

Context

Clients should be able to update existing user data.

Acceptance Criteria

  • A PUT route /users/:id is created.
  • On request, the user data is read from the "data" directory using the FileSystem module.
  • The API updates the user data with the new data from the request body.
  • The updated user data is written back to the "data" directory using the FileSystem module.
  • The API sends a JSON object containing the updated user data in the response.
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

No branches or pull requests

2 participants