Skip to content

PR for changes made on the project claude-ship-a-change-end-to-end - #29

Open
robertomumo wants to merge 4 commits into
mate-academy:mainfrom
robertomumo:main
Open

PR for changes made on the project claude-ship-a-change-end-to-end#29
robertomumo wants to merge 4 commits into
mate-academy:mainfrom
robertomumo:main

Conversation

@robertomumo

Copy link
Copy Markdown
  • Includes the update-user endpoint which updates an existing user, validates input (400 on a missing field), and returns 404 for a missing user.
  • A Notes.md is included (plan, model choiced, commit split, and what review caught)
    After changes made, npm test is green on my branch

Adds store.updateUser(id, {name, email}) and the route handler,
following the existing GET/:id and POST validation/not-found patterns.
Makes tests/update-user.test.js green.
Self-review caught that updateUser reimplemented the same users.find
id lookup already provided by getUserById.
Explains the plan, model choice, commit split, and what self-review
caught, per the course write-up requirement.
Add PUT /users/:id endpoint to update a user
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