refactor api modules
This commit is contained in:
14
apps/api/src/domain/hello/HelloController.ts
Normal file
14
apps/api/src/domain/hello/HelloController.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
import { Controller, Get } from '@nestjs/common';
|
||||
import { HelloService } from './HelloService';
|
||||
|
||||
@Controller()
|
||||
export class HelloController {
|
||||
constructor(private readonly helloService: HelloService) {}
|
||||
|
||||
@Get()
|
||||
getHello() {
|
||||
return this.helloService.getHello();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user