Tool
tRPC is a TypeScript framework for building end-to-end type-safe APIs. Developers define composable server procedures as queries, mutations, or subscriptions, group them in routers, and export the router type for use by the frontend. A tRPC client uses that type to call backend procedures with TypeScript autocompletion and matching input and output types, without a separate contract language or generated code. It provides adapters for runtimes and frameworks including Next.js, Express, Fetch API environments, Fastify, AWS Lambda, and Node HTTP servers. tRPC has no code-generation or compilation step, a small client footprint, zero dependencies, and is released under the MIT license.
1 use taken from transcripts — each links to the moment in the video.
Define backend functions in TypeScript and call them from the frontend without a separate contract language
1 in the library.