Setting Up Your First tRPC Project
Walk through installing tRPC, creating a router, and wiring a client to make your very first type-safe call.
What We Are Building
You know what tRPC is and why type safety matters. Now you'll set up a real project and make your first end-to-end type-safe call.
Installing the Packages
tRPC ships as separate server and client packages. Install them alongside Zod for validation.
npm install @trpc/server @trpc/client zodAll lessons in this course
- What is tRPC?
- The Power of Type Safety
- tRPC Core Concepts Overview
- Setting Up Your First tRPC Project