Skip to content

Commit

Permalink
feat(api): add hello router
Browse files Browse the repository at this point in the history
  • Loading branch information
codingcodax committed Jul 16, 2024
1 parent 3a8acb1 commit 019d9e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/api/src/root.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 019d9e0

Please sign in to comment.