Full Stack Tutorial: NextJS, TRPC, T3, TypeScript, Prisma, Tailwind, Zod
For a few years we have been talking about “Full stack type safety“.
But to be honest the developer experience has not been great, especially for beginners. The setup has simply been too complex.
Until now with TRPC! 🎉
The T3 stack will setup a boilerplate that integrates TRPC with fully typed React query and mutation hooks. And optionally Prisma which can handle types and CRUD at the database layer. Good times! 🌈
In this Full stack tutorial i build a complete authenticated todo list app. I bootstrap the application with the T3 stack boilerplate. Then I set up email magic link authentication with next-auth. I create all the TRPC backend routes to create, read, update and delete todos. I implement the corresponding functionality on the frontend side using the TRPC query and mutation hooks and add some tailwind styling. Lastly I ensure a really snappy user experience by adding optimistic updates to the frontend. Happy watching!
If you want to code along here is a start branch:
And the finished code:
Twitter:
Github:
Instagram:
TikTok: @barelycoding
LinkedIn:
Timestamps
0:00 Intro
0:56 T3 Boilerplate
2:10 Overview
3:30 Prisma Database Setup
8:30 next-auth Email Magiclink
13:07 Backend TRPC Router
23:27 Frontend Login
26:07 Frontend TRPC Querying
35:24 Frontend TRPC Mutations
47:18 Frontend Optimistic updates
1:00:19 Final touches
1:02:36 TRPC thoughts
CREDITS:
Please subscribe to Daniel’s YouTube channel at: @danielbark
1 view
0
0
2 months ago 00:04:51 1
PUPrime vs IC Markets : Battle of the Best Forex Brokers for 2025!
2 months ago 00:03:54 1
PU Prime or XM Broker : Best Choice for Traders?
3 months ago 02:39:26 1
React & ИНТЕРНЕТ МАГАЗИН С НУЛЯ. PERN stack PostgreSQL + express + React js +
4 months ago 00:14:47 3
PF: WOTR ENHANCED - NENIO Build: MELEE + FULL SPELLS with CC/INSTANT DEATH All in One!
4 months ago 05:23:11 1
15 Crash Course | Build and Deploy a Production-Ready Full Stack App
4 months ago 00:05:23 1
Consumer Crypto 🔥Abstract: Revolutionizing Blockchain with Speed and Low Fees
4 months ago 00:04:12 1
Kotora Mitani’s “Evisen“ Part
4 months ago 00:04:57 1
Blake Norris’ “Full Volume“ Part
4 months ago 00:01:06 1
From $5,300! All open source! Engineai first professional robot SA01 humanoid officially debuted!
4 months ago 00:09:34 1
Claude 3.5 Sonnet (NEW) + Cline & Aider (Upgraded): TESTING the NEW Model in Practical Coding!
4 months ago 00:00:00 1
[Live In HD] ONE Friday Fights 84: Kongsuk vs. Muangthai - YouTube
4 months ago 00:07:20 1
Outscraper Vs. Leads Sniper | Which is the best Google Maps Scraper? 🔥
4 months ago 00:03:41 15
Wronchi Card Reveal | Stacking Asteroids | The Great Dark Beyond
4 months ago 00:13:28 1
Paiste Color Sound 900 & MikeTerrana
4 months ago 00:13:34 1
Is Brooks lying about the Ghost Max?
4 months ago 00:08:36 3
RIP Ward Christensen - Creator of the BBS and Online Communities
4 months ago 00:07:26 1
Max Consecutive Ones III - Leetcode 1004 - Sliding Window (Python)
4 months ago 00:27:13 1
Cursor vs Bolt vs Replit vs v0 [Best AI Coding Tool]
4 months ago 00:10:46 1
VectorShift: Create Apps/Software in Minutes With a Drag-and-Drop UI!
4 months ago 00:08:51 1
gptme: Opensource AI Agent That Can Do ANYTHING! (Generate Apps, Code, Automate Your Life)
4 months ago 00:11:35 1
Cline + Grok-2 + Expo + Vectorshift : The FREE & CRAZY AI Coding Workflow that BEATS ALL!