Skip to content

Commit

Permalink
added health controller to the server
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-byiringiro committed Dec 19, 2024
1 parent f07a4e7 commit c3f13bf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions server/src/health/health.controller.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Controller, Get } from "@nestjs/common";

@Controller('health')
export class HealthController {
@Get()
check() {
return { status: 'ok' };
}
}

0 comments on commit c3f13bf

Please sign in to comment.