Skip to content

[BE-05] Implement UsersController GET endpoints #570

@yusuftomilola

Description

@yusuftomilola

Overview

Implement the UsersController with read endpoints for listing and fetching users inside backend/contrib/.

Location

All work must be inside backend/contrib/src/users/.

Acceptance Criteria

  • GET /users — returns all users, accepts optional ?search= query param, protected by JwtAuthGuard
  • GET /users/me — returns the currently authenticated user (uses @CurrentUser decorator)
  • GET /users/:id — returns a single user by ID, 404 if not found
  • Passwords and refresh tokens never returned in any response
  • Swagger decorators (@ApiTags, @ApiBearerAuth) applied

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions