0Pricing
tRPC End-to-End Type Safe APIs · Lesson

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 zod

All lessons in this course

  1. What is tRPC?
  2. The Power of Type Safety
  3. tRPC Core Concepts Overview
  4. Setting Up Your First tRPC Project
← Back to tRPC End-to-End Type Safe APIs