Created
November 9, 2021 12:55
-
-
Save tpjnorton/36ef6276e6bf15b27dad5246784992bb to your computer and use it in GitHub Desktop.
Simple NestJS controller taken from docs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Controller, Get } from '@nestjs/common'; | |
@Controller('cats') | |
export class CatsController { | |
@Get() | |
findAll(): string { | |
return 'This action returns all cats'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment