Added healthcheck route

This commit is contained in:
Jose Selesan
2026-04-09 15:06:45 -03:00
parent aa2fe41ecc
commit 7ca74970fa
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { AppEnv } from "@/types/hono";
import { Hono } from "hono";
export const healthCheckRoutes = new Hono<AppEnv>()
healthCheckRoutes.get('/', (c) => {
return c.json({
status: 'healthy',
timeStamp: new Date()
}, 200)
})