Add Todo feature with UI and backend integration

This commit is contained in:
Aman Varshney
2025-03-21 18:46:20 +05:30
parent 1ca76b23f5
commit 39a0374dd0
13 changed files with 472 additions and 60 deletions

View File

@@ -1,5 +1,7 @@
import { router, publicProcedure, protectedProcedure } from "../lib/trpc";
import { todoRouter } from "./todo";
export const appRouter = router({
healthCheck: publicProcedure.query(() => {
@@ -11,6 +13,7 @@ export const appRouter = router({
user: ctx.session.user,
};
}),
todo: todoRouter,
});
export type AppRouter = typeof appRouter;