kodelyx-backend / src /app.controller.ts
kodelyx's picture
Add root status handler for direct visits
ce37af9
Raw
History Blame Contribute Delete
338 Bytes
import { Controller, Get } from '@nestjs/common';
@Controller()
export class AppController {
@Get()
getHello() {
return {
status: 'active',
service: 'Kodelyx API Server',
message: 'Welcome to the backend API. Please use the frontend client to interact.',
timestamp: new Date().toISOString(),
};
}
}