In this video, we will go over the basics of #tRPC , why you might want to use it in your next #fullstack application to create your #api and how to implement it from scratch. We will go over the documentation, routers, procedures, input validation, context and middleware setup. #typescript #t3stack #nodejs
For the best way to setup a new NextJS project with tRPC, check out my previous video on the T3 stack: https://youtu.be/ZWBYu2yFpDs
Github Code: https://github.com/ResoluteError/trpc-intro
*Timestamps*
0:00 Intro
1:12 tRPC showcase
7:35 Installing dependencies
8:18 Implementing the server
15:54 Implementing the client
20:50 Context introduction
22:15 Implementing context
29:02 Advanced router usage
30:45 tRPC Middleware
31:56 Outro
*Useful Links*
- tRPC website: https://trpc.io/
- tRPC docs: https://trpc.io/docs
- Additional reading on tRPC file structure: https://create.t3.gg/en/usage/trpc
For the best way to setup a new NextJS project with tRPC, check out my previous video on the T3 stack: https://youtu.be/ZWBYu2yFpDs
Github Code: https://github.com/ResoluteError/trpc-intro
*Timestamps*
0:00 Intro
1:12 tRPC showcase
7:35 Installing dependencies
8:18 Implementing the server
15:54 Implementing the client
20:50 Context introduction
22:15 Implementing context
29:02 Advanced router usage
30:45 tRPC Middleware
31:56 Outro
*Useful Links*
- tRPC website: https://trpc.io/
- tRPC docs: https://trpc.io/docs
- Additional reading on tRPC file structure: https://create.t3.gg/en/usage/trpc
- Category
- Management
Be the first to comment