Initial commit Changes to be committed: new file: .gitignore new file: .prettierrc new file: LICENSE new file: README.md new file: eslint.config.mjs new file: nest-cli.json new file: package.json new file: pnpm-lock.yaml new file: src/app.controller.spec.ts new file: src/app.controller.ts new file: src/app.module.ts new file: src/app.service.ts new file: src/main.ts new file: test/app.e2e-spec.ts new file: test/jest-e2e.json new file: tsconfig.build.json new file: tsconfig.json
13 lines
274 B
TypeScript
13 lines
274 B
TypeScript
import { Controller, Get } from '@nestjs/common';
|
|
import { AppService } from './app.service';
|
|
|
|
@Controller()
|
|
export class AppController {
|
|
constructor(private readonly appService: AppService) {}
|
|
|
|
@Get()
|
|
getHello(): string {
|
|
return this.appService.getHello();
|
|
}
|
|
}
|