tRPC makes building APIs fast, easy and type-safe. If you want to try your hand at backend or full stack work, this is something you'll want to try out for yourself!
Code: https://github.com/jherr/trpc-intro
👉 I'm a host on the React Round-Up podcast: https://devchat.tv/podcasts/react-round-up/
👉 Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
👉 Discord server signup: https://discord.gg/ddMZFtTDa5
👉 VS Code theme and font? Night Wolf [black] and Operator Mono
👉 Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF
0:00 Introduction
0:46 tRPC/Express API + React Client Setup
3:26 Server Setup
4:17 Query Routes
6:06 CORS Setup
6:28 Exporting The TypeScript Types
7:16 Connecting The Client And Server Projects
8:03 Client Setup
10:34 Querying The Server
12:15 Building A Basic Chat System
12:50 Typing Route Inputs
13:39 Queries With Parameters
14:02 Adding A Mutation
14:37 Mutating From The Client Side
17:07 tRPC Subscriptions And NextJS
21:33 API Tech Comparision
25:05 Outroduction