hatchways / team-pumpernickel

0 stars 0 forks source link

created Profile Controllers #52

Closed uche-okoroafor closed 3 years ago

uche-okoroafor commented 3 years ago

What this PR does (required):

6

  1. CREATE - used user-id as passed in parameters to create a profile.
  2. UPDATE - update the user profile ,
  3. GET- Given an ID, return profile with that ID
  4. GET all - A list of profiles

    Screenshots / Videos (required):

    Screenshot (96)

Screenshot (98)

Any information needed to test this feature (required):

Since the endpoints have not been completed , you can use insomnia or any other app for making an API calls to send a request using the following routes. post("profile/create_profile/:userId") patch("profile/update_profile/:userId") get("profile/get_profile/:userId") get("profile/get_all_profiles/")

Any issues with the current functionality (optional):

uche-okoroafor commented 3 years ago

@rajivtitus ,I have made the changes

rajivtitus commented 3 years ago

@uche-okoroafor good work with this, I've left some minor comments. If you have the time you can chose to address the comments, if not please focus your efforts on the newer tickets assigned to you :)