"Stockfight" is a simple frontend to compare stocks on the swedish stock market
at master 381 B view raw
1import { postRouter } from "~/server/api/routers/post"; 2import { createTRPCRouter } from "~/server/api/trpc"; 3 4/** 5 * This is the primary router for your server. 6 * 7 * All routers added in /api/routers should be manually added here. 8 */ 9export const appRouter = createTRPCRouter({ 10 post: postRouter, 11}); 12 13// export type definition of API 14export type AppRouter = typeof appRouter;