24 lines
623 B
TypeScript
24 lines
623 B
TypeScript
import { Controller } from '@nestjs/common';
|
|
import { UserService } from './user.service';
|
|
|
|
/**
|
|
* 사용자 정보 관리 컨트롤러
|
|
*
|
|
* @description
|
|
* 사용자 API
|
|
* 인증 관련 API는 AuthController로 이동
|
|
*
|
|
* @export
|
|
* @class UserController
|
|
* @typedef {UserController}
|
|
*/
|
|
@Controller('users')
|
|
export class UserController {
|
|
constructor(private readonly usersService: UserService) {}
|
|
|
|
// TODO: 나중에 프로필 관련 엔드포인트 추가
|
|
// - GET /users/profile - 내 프로필 조회
|
|
// - PATCH /users/profile - 프로필 수정
|
|
// - GET /users/:id - 특정 사용자 조회 (관리자용)
|
|
}
|