In this video we will learn about the benefits of having a type-safe REST API. We will talk about how to combine a ReactJS frontend client with a NestJS API into a single monorepo using turborepo. We will then construct a type-safe CRUD API using ts-rest and then consume that on the client using Tanstack React Query utilizing queries, mutations, and caching. Basically everything you need to jumpstart a highly configurable fullstack application with the best developer experience!
00:00 - 01:25 - Intro
01:25 - 04:25 - End-to-end type-safety example
04:25 - 07:30 - What it would look like without a monorepo and type-safety
07:30 - 12:17 - Project and applications setup
12:17 - 19:21 - Internal package setup
19:21 - 25:28 - Defining the API contract and schema
25:28 - 34:52 - CRUD API implementation
34:52 - 50:00 - Client implementation with React Query
50:00 - 53:00 - Outro
Auf dieser Seite können Sie das Online-Video This setup has the best developer experience mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Marius Espejo 13 Februar 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 11,745 Mal angesehen und es wurde von 357 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!