Wire API health endpoint

This commit is contained in:
dahyeon committed 2026-07-02 13:56:01 -07:00
1 parent 4115646d66
commit 34ae20476f
10 files changed
+104 -21

No files matched your search

+6 -2
View File
@@ -1,8 +1,12 @@
import { Injectable } from '@nestjs/common';
export interface HealthResponse {
status: 'ok';
}
@Injectable()
export class AppService {
getHello(): string {
return 'Hello World!';
getHealth(): HealthResponse {
return { status: 'ok' };
}
}