Skip to content

add userprofile routes, edited profile controller#237

Closed
BenOkojie wants to merge 1 commit intomainfrom
benokojie
Closed

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

@Flapjacck Flapjacck closed this Mar 9, 2026
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

2 participants