Example Project from A First Look at tRPC
tRPC is a TypeScript library for building end-to-end, type-safe APIs. It creates fully typed endpoints on the backend which can be queried from a frontend written in TypeScript. While it is typically integrated with React or Next, it can be used with Vue, Svelte, or plain TypeScript.
git clone https://github.com/ajcwebdev/a-first-look.git
cd backend/trpc
pnpm i
pnpm dev