Skip to content

add userprofile routes, edited profile controller#237

Open
BenOkojie wants to merge 1 commit intomainfrom
benokojie
Open

add userprofile routes, edited profile controller#237
BenOkojie wants to merge 1 commit intomainfrom
benokojie

Conversation

@BenOkojie
Copy link
Contributor

Closes #102

Summary

  • Added authenticated routes for viewing and updating the current user’s profile
  • Implemented get/update endpoints for user preferences
  • All profile routes are protected via auth middleware

Endpoints

  • GET /api/users/profile
  • PUT /api/users/profile
  • GET /api/users/preferences
  • PUT /api/users/preferences

Notes

  • Profile image upload endpoint was not implemented (optional requirement)
  • Password update is handled via existing auth routes

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.

👤 Implement user profile management

1 participant