Buy me a coffee! https://buymeacoffee.com/lucasbarake
Repository: https://github.com/lucas-barake/effect-monorepo
00:00 Why I'm Leaving tRPC
01:41 What I Need: Beyond Type Inference (Errors, Telemetry, DI, Composability)
03:56 The Solution: Effect Schema (Bidirectional Runtime Safety)
05:07 Demo App & Effect HTTP Overview (To-Do App, REST vs tRPC, Telemetry)
06:44 Defining the API Contract (Domain Package, Groups, Endpoints)
09:00 Runtime Schemas & Typed Errors (Effect Schema in Practice)
11:47 Implementing the Server (API Live Handlers, Type Safety)
15:12 Server Logic: Error Handling & Telemetry Example
16:56 Building the Client (Data Access, TanStack Query Wrappers)
20:08 Client Mutations, Cache Management & Notifications
21:19 Client-Side Type-Safe Error Handling
23:14 Integrating with Forms (TanStack Form & Schema Validation)
25:48 Under the Hood: Effect Query Wrappers & Conclusion