tRPC
Definitions
A framework for building end-to-end typesafe APIs in TypeScript without code generation or schemas. tRPC lets you define API procedures on the server and call them from the client with full autocompletion and type checking, as if calling a local function. It eliminates the need for REST endpoint definitions, OpenAPI specs, or GraphQL schemas by leveraging TypeScript's type inference across the network boundary. When the server-side API changes, the client immediately shows type errors. tRPC works with any framework but is most popular in the T3 Stack (Next.js + tRPC + Prisma + Tailwind). It represents the TypeScript community's answer to the API contract problem: if both sides are TypeScript, why maintain a separate schema language?
In plain English: A tool that lets your frontend call backend functions with full type safety, as if there's no network in between. Change your server code and your frontend immediately shows what broke.
Example: With tRPC, I renamed a field on the backend and instantly saw 12 red squiggles in the frontend code. No runtime surprises.