This setup has the best developer experience

Published: 13 February 2024
on channel: Marius Espejo
9,940
327

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


Watch video This setup has the best developer experience online, duration hours minute second in high quality that is uploaded to the channel Marius Espejo 13 February 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 9,940 times and liked it 327 visitors.