Skip to content

Add route to update user data and refactor for Express v5 changes#2

Merged
hussein-m-kandil merged 14 commits intomainfrom
dev
Apr 25, 2025
Merged

Add route to update user data and refactor for Express v5 changes#2
hussein-m-kandil merged 14 commits intomainfrom
dev

Conversation

@hussein-m-kandil
Copy link
Copy Markdown
Owner

What’s New

  • Added a PATCH /users/:id route for updating user data.

Refactoring

  • Removed unnecessary try...catch blocks due to built-in error handling in Express v5.
  • Added logging for errors passed to the app.listen callback.
  • Modified how the app error handler logs the error.

Notes

  • This assumes all routes rely on the centralized app error-handling middleware.

@hussein-m-kandil hussein-m-kandil merged commit 06b2333 into main Apr 25, 2025
1 check passed
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