nestjs medium code example
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'
};
}
}