Learn how to build a SaaS with type safety end-to-end, from the database through the backend and to the UI, with TypeScript, PostgreSQL, NodeJS and React with this new course.
tRPC is Emerging Modern Standard ⚡
⭐ Automatic type safety: Made a server-side change? TypeScript will warn you of errors on your client before you even save the file!
⭐ Snappy DX: tRPC has no build or compile steps, meaning no code generation, runtime bloat, or build step.
⭐ Framework agnostic: tRPC is compatible with all JavaScript frameworks and runtimes. It's easy to add to your existing projects.
⭐ Autocompletion: Using tRPC is like using an SDK for your API's server code, giving you confidence in your endpoints.
Light bundle size: tRPC has zero dependencies and a tiny client-side footprint making it lightweight.
⭐ Batteries included: tRPC provides adapters for React, Next.js, Express, Fastify, AWS Lambda, Solid, Svelte, and more.
The 3 Steps of tRPC 💥
1. Define your procedures
2. Create your HTTP server
3. Connect your client and start querying!
The full course shows you how to set up a full architecture, allowing you to build a SaaS or other web app. You will have a PostgreSQL database that is migrated using raw SQL, a NodeJS-based backend, and a React-based frontend.
All of it will be in a mono-repo and you will see how to set up all of this in a way that plays well together. You will learn how to use Kanel to generate types and use these throughout the code base. You will learn how to set up tRPC to enable type-safe API calls.
Finally, you will learn how to set up automated unit/integration testing of all of these components.