chore: 服务骨架(Hono+TS+vitest+eslint,health 路由与探活注册点)

This commit is contained in:
lovefyf
2026-08-13 00:39:39 +08:00
commit 2a89abd638
15 changed files with 2125 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import { serve } from '@hono/node-server';
import { buildApp } from './app';
import { config } from '../shared/config';
serve({ fetch: buildApp().fetch, port: config.port }, (info) => {
console.log(`${config.serviceName} listening on :${info.port}`);
});