Giorgio Boa
tRPC: API schemas are pure overhead
#1about 3 minutes
Understanding the problem of API schema fatigue
Traditional API approaches like OpenAPI and GraphQL require learning new specifications and running code generation steps, which can be cumbersome.
#2about 2 minutes
Introducing tRPC for end-to-end type safety
tRPC is a popular library that enables sharing types between a client and server without schemas by leveraging TypeScript's built-in type inference.
#3about 4 minutes
Live demo of setting up a tRPC server
The setup involves installing client and server packages, creating a main app router that combines business logic, and exporting its inferred type for the client.
#4about 3 minutes
Demonstrating type safety between client and server
Changing a backend procedure's name or parameters instantly triggers a TypeScript error in the frontend code, preventing broken APIs from being shipped.
#5about 6 minutes
Debugging tRPC communication and server execution
By inspecting network requests and using breakpoints, you can trace how the client calls the server via HTTP and how the server library resolves and executes your backend functions.
#6about 2 minutes
Analyzing the pros and cons of using tRPC
tRPC eliminates code generation and improves collaboration but requires a full TypeScript stack and manual handling for API versioning or public APIs.
#7about 3 minutes
Learning from real-world open source examples
Use tools like grep.app to search open source projects like cal.com and learn advanced patterns, such as implementing custom authentication middleware.
#8about 4 minutes
Getting started and handling different project setups
Bootstrap a new project using create-t3-app and handle separate client/server repositories by publishing the shared router type as a private NPM package.
Related jobs
Jobs that call for the skills explored in this talk.
Senior Backend Engineer Electrical Engineering
envelio
Köln, Germany
Remote
Senior
Python
Software Architecture
Senior Fullstack Engineer – Angular/.Net (f/m/d)
Apaleo
München, Germany
Remote
€65-85K
Senior
JavaScript
.NET
+2
(Senior) Fullstack Engineer (f/m/d)
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Matching moments
16:45 MIN
Connecting the frontend with type-safe APIs
End-to-End TypeScript: Completing the Modern Development Stack
13:07 MIN
Building type-safe backends and APIs
End-to-End TypeScript: Completing the Modern Development Stack
23:50 MIN
Building end-to-end type-safe full-stack applications
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
08:09 MIN
Tracing the evolution of APIs from RPC to GraphQL
The Great API Debate: REST, GraphQL, or gRPC?
00:04 MIN
An overview of gRPC fundamentals and its trade-offs
gRPC Load Balancing Deep Dive
08:22 MIN
Achieving type safety in the database layer
End-to-End TypeScript: Completing the Modern Development Stack
00:14 MIN
Combining resource-oriented design with RPC in gRPC
Designing gRPC APIs - The things they don't tell you
17:54 MIN
Architectural differences between REST, GraphQL, and gRPC
The Great API Debate: REST, GraphQL, or gRPC?
Featured Partners
Related Videos
End-to-End TypeScript: Completing the Modern Development Stack
Marco Podien
The Great API Debate: REST, GraphQL, or gRPC?
Alexis Yushin
REST in Peace? What does the API protocol of the future look like? Or do we have it already?
Simon Auer
Designing gRPC APIs - The things they don't tell you
Bastian Eicher
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
Jens Claes
GraphQL + Apollo + Next.js: A Lovely Trio
Josh Goldberg
Build and Deploy a Fullstack App with Open Source Tooling
Noam Honig
GraphQL: Does it replace SQL, REST or Something Else?
Gregor Bauer
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Tech Lead - Node.js/TypeScript
ZAidAN it solutions
Barcelona, Spain
Remote
Node.js
TypeScript
Agile Methodologies
Software Architecture
+1
![Senior Backend Engineer [TypeScript] (Prisma ORM)](https://wearedevelopers.imgix.net/public/default-job-listing-cover.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
Senior Backend Engineer [TypeScript] (Prisma ORM)
Prisma Data, Inc.
Municipality of Madrid, Spain
Remote
Senior
C++
Next.js
TypeScript
![Senior Backend Engineer [TypeScript] (Prisma Postgres)](https://wearedevelopers.imgix.net/public/default-job-listing-cover.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
Senior Backend Engineer [TypeScript] (Prisma Postgres)
Prisma
Amsterdam, Netherlands
Remote
Senior
Go
API
NoSQL
Node.js
+4

Senior Full Stack Software Engineer (TypeScript)
Gcp Prisma
Broughton, United Kingdom
Remote
Senior
API
Redis
React
Next.js
+6



TypeScript Engineer (OOP/React/Three.js)
Materialise
Barcelona, Spain
Intermediate
Java
React
Three.js
TypeScript
Unit Testing
+1

Senior Full-Stack Web Engineer - PHP + TypeScript
Planner 5D
Barcelona, Spain
Senior
PHP
JavaScript
TypeScript

Senior Full-Stack TypeScript Engineer (React, Node, TypeScript, AWS)
Provectus
Remote
API
GIT
JSON
REST
+11