import { Controller, Get } from '@nestjs/common' import { AppService } from './app.service' @Controller() export class AppController { constructor(private readonly appService: AppService) {} @Get() getStatus(): { status: number; body: string } { return this.appService.getStatus() } }