diff --git a/packages/api/src/root.ts b/packages/api/src/root.ts index 7aee932..cfd1cd7 100644 --- a/packages/api/src/root.ts +++ b/packages/api/src/root.ts @@ -1,6 +1,9 @@ +import { helloRouter } from './router/hello'; import { createTRPCRouter } from './trpc'; -export const appRouter = createTRPCRouter({}); +export const appRouter = createTRPCRouter({ + hello: helloRouter, +}); // export type definition of API export type AppRouter = typeof appRouter;