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

Feat: Implement User details update Endpoint #94

Closed
wants to merge 8 commits into from

Conversation

utuedey
Copy link

@utuedey utuedey commented Jul 22, 2024

Description

Implemented the User details update endpoints to handle updating user details in the system. These endpoints allow users to edit their name and phone number. Key functionalities include:

  • UpdateUser (PATCH /api/v1/users/:userId): Allows users to accept to update their details by submitting a PATCH request with the required name and phoneNumber changes. The link is parsed, validated, and the user details are updated.

The endpoint include comprehensive validation, error handling, and logging to ensure robust and reliable functionality.

Related Issue (Link to Github issue)

​#1

How Has This Been Tested?

​Manual Testing:

  • Endpoint Verification: Manually tested the UpdateUser endpoint using Postman to ensure correct functionality. Verified the successful updating of user details.

Automated Testing:

  • Unit Tests:

The tests validate that the endpoints handle various edge cases and scenarios, ensuring robustness and reliability.

Screenshots (if appropriate - Postman, etc):


image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@utuedey utuedey assigned utuedey and unassigned utuedey Jul 23, 2024
@utuedey utuedey changed the title Implement User details update Endpoint Fetat: Implement User details update Endpoint Jul 24, 2024
@utuedey utuedey changed the title Fetat: Implement User details update Endpoint Feat: Implement User details update Endpoint Jul 24, 2024
@utuedey utuedey requested a review from Cyberguru1 July 24, 2024 16:51
@utuedey utuedey added the Users update user endpoint label Jul 24, 2024
@buka4rill buka4rill closed this Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Users update user endpoint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants