ohmyform/api/src/app.controller.ts
2019-07-30 00:46:56 +02:00

19 lines
359 B
TypeScript

import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
@Controller()
export class AppController {
constructor(private readonly appService: AppService) {}
@Get()
getIndex(): object {
return {
message: 'hello humanoid',
_links: {
doc: '/doc',
health: '/health'
}
};
}
}