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 { handle } from "hono/vercel";
import { app } from "~/server/public-api";
export const GET = handle(app);
export const POST = handle(app);
export const PUT = handle(app);
export const DELETE = handle(app);