feat: init after lab 1

This commit is contained in:
2026-10-01 19:29:22 +03:00
parent 65003b6119
commit f743ee10a2
44 changed files with 8111 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import { Controller, Get } from '@nestjs/common';
import { HealthService } from './health.service.js';
@Controller('health')
export class HealthController {
constructor(private readonly healthService: HealthService) {}
@Get('live')
getLive() {
return this.healthService.getLiveness();
}
@Get('ready')
getReady() {
return this.healthService.getReadiness();
}
}