Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

nest js example repository

Example: nestjs code example

import { Controller, Get } from '@nestjs/common';

@Controller('/api')
export class AppController {

  @Get('/testAuth0')
  getHello() {
    return {
      status: 'ok'
    };
  }

  @Get('/health')
  getHealthCheck() {
    return {
      status: 'ok'
    };
  }
}

Tags:

Javascript Example

Related

python check if 2 columns are equal code example ng if for a ng for angular code example convert base64string to base64binary javascript code example how to force the curser to the end of an input js code example assigning a color variable sass code example append file linux code example xampp localhost url code example acer swift 3 14" code example javascript remove last letter from a string code example use model in controller in laravel 8 code example fuction with params code example login to postgres command prompt code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy