This commit is contained in:
2026-05-27 10:30:23 -04:00
parent 5214412fff
commit 1e1773c186
48 changed files with 5351 additions and 160 deletions

View File

@@ -0,0 +1,12 @@
import type { APIEvent } from "@solidjs/start/server";
import { createTRPCRouter, publicProcedure } from "~/server/api/utils";
// Example of versioned API router
export const apiRouter = createTRPCRouter({
// v1 endpoints
hello: publicProcedure.query(() => {
return { message: "Hello from API v1" };
}),
});
export default apiRouter;