From 493746b14c1251a45b061d2e3edd9160c929d2b9 Mon Sep 17 00:00:00 2001 From: benj Date: Fri, 10 Apr 2026 11:13:34 +0800 Subject: a basic ui and landing web interface for tidyindex.com --- web/api/src/index.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 web/api/src/index.ts (limited to 'web/api/src/index.ts') diff --git a/web/api/src/index.ts b/web/api/src/index.ts new file mode 100644 index 0000000..f30fda1 --- /dev/null +++ b/web/api/src/index.ts @@ -0,0 +1,20 @@ +import { Hono } from 'hono'; +import { CORE_VERSION } from '@tidyindex/core'; + +export interface Env { + // DATABASE_URL: string; + // KEY_CACHE: KVNamespace; + // ACCOUNT_METER: DurableObjectNamespace; +} + +const app = new Hono<{ Bindings: Env }>(); + +app.get('/', (c) => + c.json({ + name: 'tidyindex-api', + version: '0', + core: CORE_VERSION + }) +); + +export default app; -- cgit v1.2.3