Skip to main content
Bluecoders
← Tech glossary

tRPC

FrameworkTech

tRPC = end-to-end typed APIs

tRPC is an open source TypeScript library for building an API between a server and a front-end application with types shared end to end, without writing a schema or generating code.

On the server side, you define procedures (queries, mutations, subscriptions). On the client side, you call them like local functions: the editor offers autocompletion, and any mismatch between the two sides is caught before the code even runs. Incoming data is validated with a library such as Zod.

tRPC is particularly well suited to monorepos where front-end and back-end are written in TypeScript by the same team, for example with Next.js. It is less relevant for a public API consumed by clients written in other languages: REST with OpenAPI or GraphQL are then better suited.

Why it matters when hiring

tRPC signals a full-stack TypeScript team that favors development speed. The right candidate can say when they would not use it (public API, native mobile app, separate teams). The library itself takes a few days to learn: check command of TypeScript and API design instead.

A recruitment need?

Describe what you need. A recruiter from your sector will call you back within 24 business hours.