tRPC
tRPC (TypeScript Remote Procedure Call) is an open-source framework for building end-to-end typed APIs between a TypeScript back-end and front-end, with no code generation or intermediate schema (no OpenAPI, no GraphQL).
tRPC (TypeScript Remote Procedure Call) is an open-source framework for building end-to-end typed APIs between a TypeScript back-end and front-end, with no code generation or intermediate schema (no OpenAPI, no GraphQL).
The server exposes procedures (queries, mutations, subscriptions); the client calls them as if they were local functions, with full autocomplete and type safety — including for parameters validated via Zod.
tRPC shines in fullstack TypeScript monorepos (Next.js, T3 Stack) where types can be shared directly. It complements Next.js Server Actions well and is often compared to GraphQL for single-language contexts.
