Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Building full stack projects with tRPC
Search
Brian Douglas
November 10, 2022
Technology
0
45
Building full stack projects with tRPC
Brian Douglas
November 10, 2022
Tweet
Share
More Decks by Brian Douglas
See All by Brian Douglas
Funding & Hiring Contributors
bdougie
0
14
Funding and Hiring Contributors
bdougie
0
29
Unconventional Metrics in OSS
bdougie
0
100
Success in Open Source
bdougie
0
61
Measuring Success in Open Source
bdougie
0
32
The Secret Sauce is Open Source
bdougie
0
49
How to get your PR reviewed
bdougie
0
95
Automation w/GitHub Actions
bdougie
0
100
Getting Traction with Actions (2021)
bdougie
1
88
Other Decks in Technology
See All in Technology
mnt_data_とは?ChatGPTコード実行環境を深堀りしてみた
icck
0
210
継続戦闘能⼒
sansantech
PRO
0
220
GigaViewerにおけるMackerel APM導入の裏側
7474
0
460
AIのための オンボーディングドキュメントを整備する - hirotea
hirotea
9
2.3k
データプレーンプログラミングとは? DPU&スイッチASICの開発経験から語る
ebiken
PRO
1
270
オープンソースのハードウェアのコンテストに参加している話
iotengineer22
0
660
KMP導⼊において、マネジャーとして考えた事
sansantech
PRO
1
210
AIの電力問題を概観する
rmaruy
1
220
Swiftは最高だよの話
yuukiw00w
2
290
エンジニアが組織に馴染むために勉強会を主催してチームの壁を越える
ohmori_yusuke
2
120
ローカル環境でAIを動かそう!
falken
PRO
1
170
從開發到架構設計的可觀測性實踐
philipz
0
120
Featured
See All Featured
Designing for Performance
lara
608
69k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
460
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Unsuck your backbone
ammeep
671
58k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
The Language of Interfaces
destraynor
158
25k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Designing for humans not robots
tammielis
253
25k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.6k
How to train your dragon (web standard)
notwaldorf
92
6k
Transcript
@bdougieYO Building full stack projects with tRPC opensauced.pizza 1
Brian Douglas youtube.com/ilikerobot Work fl ow Automation By leveraging the
GitHub API The Last Dance Michael Jordan of content
opensauced.pizza @bdougieYO 3 Statistically proven Area 31
opensauced.pizza @bdougieYO 4 1 5 2 3 4 Triangle Offense
(framework)
Picking tech is hard
Choose a framework
Michael Jordan of open-source Brian Douglas
opensauced.pizza @bdougie 8 OpenSauced: “Open Source Insights, by the
slice” . Image of the platform serving Digital Ocean’s Hacktoberfest 2022 insights for 95k. repos
We chose Next.js
opensauced.pizza @bdougie 10 Building Modern APIs
opensauced.pizza @bdougie Building Modern APIs 11 Server Client GraphQL Or
Swagger
opensauced.pizza @bdougie 12 tRPC? TypeScript Remote Procedure Call
opensauced.pizza @bdougie tRPC Setup 13 tRPC-server tRPC-client tRPC router
opensauced.pizza @bdougie tRPC 14 Server Client Function Remote Calls
https://beta.create.t3.gg/
TypeScript Tailwind tRPC
t3-app decisions made TypeScript Tailwind tRPC next-auth prisma
opensauced.pizza @bdougie 18 Jamstack DEMO
opensauced.pizza @bdougie 19 Jamstack
localhost:3000
opensauced.pizza @bdougie tRPC Setup 21 tRPC-server tRPC-client tRPC router
opensauced.pizza @bdougie 22 tRPC-server tRPC-client tRPC Setup tRPC router
opensauced.pizza @bdougie 23 tRPC-server tRPC-client tRPC Setup tRPC router
opensauced.pizza @bdougie 24 tRPC-server pages create-t3-app setup tRPC router
opensauced.pizza @bdougie 25 Backend
server/example.ts tRPC Schema-less API development.
opensauced.pizza @bdougie 27 Frontend
localhost:3000
pages/index.tsx react-query Powerful React state management
pages/index.tsx react-query Powerful React state management
pages/index.tsx react-query Powerful React state management
tRPC router bene fi ts Caching Distribution JSON Magic
opensauced.pizza @bdougie tRPC benefits Lowers the barrier for building. 33
T3 Stack • focused on simplicity, modularity, and full-stack typesafety. It consists of: • Next.js, tRPC, Tailwind, CSS, TypeScript, Prisma, NextAuth.js
opensauced.pizza @bdougie tRPC Lowers the barrier for building. 34
opensauced.pizza @bdougieYO 35 1 5 2 3 4 create-t3-app (framework)
hot.opensauced.pizza
None
opensauced.pizza @bdougieYO 38 youtube.com/opensauced
opensauced.pizza @bdougieYO 39 youtube.com/opensauced
Michael Jordan of open-source @bdougieYO