Skip to content

Add PUT /users/:id endpoint to update a user - #89

Open
poLLib wants to merge 1 commit into
mate-academy:mainfrom
poLLib:update-user-endpoint
Open

Add PUT /users/:id endpoint to update a user#89
poLLib wants to merge 1 commit into
mate-academy:mainfrom
poLLib:update-user-endpoint

Conversation

@poLLib

@poLLib poLLib commented Aug 18, 2026

Copy link
Copy Markdown

Adds a store.updateUser helper mirroring the existing getUserById/ createUser pattern, and wires it into a new PUT /users/:id route that validates name and email are present (400) and returns 404 when the user doesn't exist.

Adds a store.updateUser helper mirroring the existing getUserById/
createUser pattern, and wires it into a new PUT /users/:id route that
validates name and email are present (400) and returns 404 when the
user doesn't exist.
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.

1 participant