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 profile management functionality #14

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

jkarenzi
Copy link
Owner

What does this PR do?

  • This PR adds profile management functionality to the project

Description of the task to be completed

  • Implement endpoints for changing email,password and profile picture
  • Implement protected endpoints for managing users
  • Write appropriate tests
  • Write swagger documentation for resulting endpoints

How can this be manually tested?

  • By accessing the api/users/email endpoint to change email
  • By accessing the api/users/password endpoint to change password
  • By accessing the api/users/profileImg endpoint to changeprofile picture(patch) and delete profile picture(delete)

Swagger documentation screenshot

user mgt test

Test screenshot

test test test test 2

What are the relevant pivotal trackers/story id?

@jkarenzi jkarenzi added the feature New feature or request label Jun 24, 2024
@jkarenzi jkarenzi self-assigned this Jun 24, 2024
@jkarenzi jkarenzi changed the title feat(profile): implement profile management functionality Feat: implement profile management functionality Jun 24, 2024
@jkarenzi jkarenzi force-pushed the ft-manage-profile-#13 branch from 969649a to 53a6e34 Compare June 25, 2024 17:25
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

Attention: Patch coverage is 97.03704% with 4 lines in your changes missing coverage. Please review.

Project coverage is 98.54%. Comparing base (744ca92) to head (f1da67e).

Files Patch % Lines
src/controllers/userController.ts 97.29% 2 Missing ⚠️
src/middleware/authenticateToken.ts 33.33% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #14      +/-   ##
===========================================
- Coverage    98.80%   98.54%   -0.27%     
===========================================
  Files           33       39       +6     
  Lines          503      619     +116     
  Branches        42       55      +13     
===========================================
+ Hits           497      610     +113     
- Misses           5        8       +3     
  Partials         1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jkarenzi jkarenzi force-pushed the ft-manage-profile-#13 branch from 53a6e34 to bf6e09f Compare June 27, 2024 11:07
-implement endpoints for updating email, password and profile image

[Delivers #13]
@jkarenzi jkarenzi force-pushed the ft-manage-profile-#13 branch from bf6e09f to f1da67e Compare June 30, 2024 11:58
@jkarenzi jkarenzi merged commit 246f35f into develop Jun 30, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant