Transfer repository from Gitlab

This commit is contained in:
Tran, Alex 2022-02-03 10:06:44 -06:00
parent af2efbdbbd
commit 568cc243f0
177 changed files with 13300 additions and 0 deletions

View file

@ -0,0 +1,19 @@
import { Controller, Get, Post, Body, Patch, Param, Delete } from '@nestjs/common';
import { ServerInfoService } from './server-info.service';
@Controller('server-info')
export class ServerInfoController {
constructor(private readonly serverInfoService: ServerInfoService) {}
@Get()
async getServerInfo() {
return await this.serverInfoService.getServerInfo();
}
@Get('/ping')
async getServerPulse() {
return {
res: 'pong',
};
}
}