Initialize API

This commit is contained in:
KMKoushik
2024-04-09 09:50:56 +10:00
parent 377069978a
commit 4d0441791b
7 changed files with 169 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
import { OpenAPIHono } from "@hono/zod-openapi";
export function getApp() {
return new OpenAPIHono().basePath("/api/v1");
}
export type PublicAPIApp = ReturnType<typeof getApp>;