tRPC: Smart and Easy APIs

Поделиться
HTML-код
  • Опубликовано: 26 июн 2024
  • 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: github.com/jherr/trpc-intro
    👉 I'm a host on the React Round-Up podcast: devchat.tv/podcasts/react-rou...
    👉 Don't forget to subscribe to this channel for more updates: bit.ly/2E7drfJ
    👉 Discord server signup: / discord
    👉 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
  • НаукаНаука

Комментарии • 191