aboutsummaryrefslogtreecommitdiffstats
path: root/packages/api/routes
diff options
context:
space:
mode:
Diffstat (limited to 'packages/api/routes')
-rw-r--r--packages/api/routes/health.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/api/routes/health.ts b/packages/api/routes/health.ts
new file mode 100644
index 00000000..64c2d45b
--- /dev/null
+++ b/packages/api/routes/health.ts
@@ -0,0 +1,16 @@
+import { Hono } from "hono";
+
+import { Context } from "@karakeep/trpc";
+
+const health = new Hono<{
+ Variables: {
+ ctx: Context;
+ };
+}>().get("/", (c) => {
+ return c.json({
+ status: "ok",
+ message: "Web app is working",
+ });
+});
+
+export default health;