๐ Title
Implement user profile endpoints โ GET and PATCH /users/me
๐ Description
Phase 2 of the roadmap (API-04 and API-05) is still pending. The `/auth/register` endpoint creates the user profile but there are no endpoints to retrieve or update it. This blocks the frontend from displaying or editing user data after login.
โ
Tasks to complete
๐ Documentation/context for AI
(This link never should removed)
https://github.com/TrustUp-app/TrustUp-API/tree/main/docs
๐๏ธ Additional notes
- Follow the controller/service/DTO patterns documented in `docs/development/`
- `@CurrentUser()` decorator is available to extract authenticated user ID from JWT
- Profile image upload should follow the same Fastify multipart pattern used in `AuthController.register()`
- Username changes must check uniqueness against existing users (excluding current user)
๐ Title
Implement user profile endpoints โ GET and PATCH /users/me
๐ Description
Phase 2 of the roadmap (API-04 and API-05) is still pending. The `/auth/register` endpoint creates the user profile but there are no endpoints to retrieve or update it. This blocks the frontend from displaying or editing user data after login.
โ Tasks to complete
๐ Documentation/context for AI
(This link never should removed)
https://github.com/TrustUp-app/TrustUp-API/tree/main/docs
๐๏ธ Additional notes