## 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
Overview
Implement the
UsersControllerwith read endpoints for listing and fetching users insidebackend/contrib/.Location
All work must be inside
backend/contrib/src/users/.Acceptance Criteria
GET /users— returns all users, accepts optional?search=query param, protected byJwtAuthGuardGET /users/me— returns the currently authenticated user (uses@CurrentUserdecorator)GET /users/:id— returns a single user by ID, 404 if not found@ApiTags,@ApiBearerAuth) applied