Skip to content

Instantly share code, notes, and snippets.

@panuhorsmalahti
Created June 11, 2019 09:00
Show Gist options
  • Save panuhorsmalahti/39f837bd19875087b035ff6744f86ff2 to your computer and use it in GitHub Desktop.
Save panuhorsmalahti/39f837bd19875087b035ff6744f86ff2 to your computer and use it in GitHub Desktop.
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