diff --git a/src/api/controllers/other.ts b/src/api/controllers/other.ts new file mode 100644 index 00000000..835ec989 --- /dev/null +++ b/src/api/controllers/other.ts @@ -0,0 +1,16 @@ +import { injectable } from "tsyringe" +import { Get, Router } from "@discordx/koa" +import { Context } from "koa" + +import { BaseController } from "@utils/classes" + +@Router() +@injectable() +export class HealthController extends BaseController { + + @Get('/') + async index(ctx: Context) { + + this.ok(ctx, 'API server is running') + } +} \ No newline at end of file