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.
Matching moments
00:14 MIN
Combining resource-oriented design with RPC in gRPC
Designing gRPC APIs - The things they don't tell you
08:10 MIN
Sharing TypeScript models in a full-stack monorepo
Full-stack role-based authorization in 45 minutes
35:30 MIN
Live demo of generating an API with the library
Putting the Graph In GraphQL With The Neo4j GraphQL Library
02:21 MIN
The rapid evolution of JavaScript and modern web APIs
The year 3000, a brief history of Web Development
09:40 MIN
Why using GraphQL between services can be challenging
GraphQL Mesh – Why GraphQL between services is the worst idea and the best idea at the same time!
17:32 MIN
Addressing GraphQL security and implementation challenges
GraphQL: Does it replace SQL, REST or Something Else?
13:25 MIN
How GraphQL Mesh unifies existing backend services
GraphQL Mesh – Why GraphQL between services is the worst idea and the best idea at the same time!
21:01 MIN
Using GraphQL as a contract for team collaboration
GraphQL: Does it replace SQL, REST or Something Else?
Featured Partners
Related Videos
Designing gRPC APIs - The things they don't tell you
Bastian Eicher
Build and Deploy a Fullstack App with Open Source Tooling
Noam Honig
Building software that scales with Typescript
Tal Joffe
Awful APIs: A History Lesson in Industry Mistakes and Mishaps
James Seconde
Rethinking Reactive Architectures with GraphQL
David Leitner
Evolving your APIs, a step-by-step approach
Nicolas Fränkel
End-to-End TypeScript: Completing the Modern Development Stack
Marco Podien
The Great API Debate: REST, GraphQL, or gRPC?
Alexis Yushin
From learning to earning
Jobs that call for the skills explored in this talk.
![Senior Software Engineer [TypeScript] (Prisma Postgres)](https://wearedevelopers.imgix.net/company/283ba9dbbab3649de02b9b49e6284fd9/cover/oKWz2s90Z218LE8pFthP.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)

Senior Software Engineer [TypeScript] (Prisma Postgres)
Prisma
Remote
Senior
Node.js
TypeScript
PostgreSQL
Senior Backend Engineer [TypeScript] (Prisma ORM)
Prisma Data, Inc.
Cardiff, United Kingdom
Remote
Senior
C++
Next.js
JavaScript
TypeScript
Senior Backend Software Engineer (TypeScript) [Prisma ORM]
Prisma Data, Inc.
Paris, France
Remote
Senior
C++
Next.js
JavaScript
TypeScript
Senior Backend Software Engineer (TypeScript) [Prisma ORM]
Prisma Data, Inc.
Brussels, Belgium
Remote
Senior
C++
Next.js
JavaScript
TypeScript
Senior Backend Software Engineer (TypeScript) [Prisma ORM]
Prisma Data, Inc.
Vienna, Austria
Remote
Senior
C++
Next.js
JavaScript
TypeScript
Senior Backend Software Engineer (TypeScript) [Prisma ORM]
Prisma Data, Inc.
Charing Cross, United Kingdom
Remote
Senior
C++
Next.js
JavaScript
TypeScript
Senior Backend Software Engineer (TypeScript) [Prisma ORM]
Prisma
Amsterdam, Netherlands
Remote
Senior
C++
Next.js
JavaScript
TypeScript
Senior Full Stack Software Engineer (TypeScript)
Gcp Prisma
Broughton, United Kingdom
Remote
Senior
API
Redis
React
Next.js
+6
Senior Backend Engineer [TypeScript] (Prisma ORM)
Prisma GmbH
Frankfurt am Main, Germany
Remote
Senior
C++
Next.js
JavaScript
TypeScript


