feat: add backend-mock app
This commit is contained in:
11
apps/backend-mock/src/modules/health/health.controller.ts
Normal file
11
apps/backend-mock/src/modules/health/health.controller.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Public } from '@/core/decorator';
|
||||
import { Controller, Get } from '@nestjs/common';
|
||||
|
||||
@Controller()
|
||||
export class HealthController {
|
||||
@Public()
|
||||
@Get()
|
||||
getHeart(): string {
|
||||
return 'ok';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user