Skip to content

Conversation

@albidoo
Copy link
Contributor

@albidoo albidoo commented Oct 16, 2025

This PR implements the "Get User Profile" endpoint.

  • Uses req.user.id from protect middleware.
  • Fetches user profile from database excluding password.
  • Returns 404 if user not found.

Closes #29

image image

@albidoo
Copy link
Contributor Author

albidoo commented Oct 16, 2025

@ivruhs sir please review this pr, thanks!

@albidoo albidoo closed this Oct 16, 2025
@albidoo albidoo reopened this Oct 18, 2025
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.

backend/controllers/authController.js - Issue 2 : Implement Get User Profile Endpoint

1 participant