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
hono-remix-adapter使ってみた
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
おがどら
November 19, 2024
0
370
hono-remix-adapter使ってみた
おがどら
November 19, 2024
Tweet
Share
More Decks by おがどら
See All by おがどら
任意のドメインを破壊
ogadra
0
34
LambdaとSQLiteでシステム構築
ogadra
1
440
Terraformと AWS Lambdaで WebSocket通信
ogadra
1
250
Featured
See All Featured
For a Future-Friendly Web
brad_frost
182
10k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
470
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
190
WCS-LA-2024
lcolladotor
0
450
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
Technical Leadership for Architectural Decision Making
baasie
2
250
Tell your own story through comics
letsgokoyo
1
810
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
130
The Spectacular Lies of Maps
axbom
PRO
1
530
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
It's Worth the Effort
3n
188
29k
Transcript
hono-remix-adapter 使ってみた おがどら
🎉 yusukebe/hono-remix-adapter 🎉 ※ 本日のデモでは、こちらのリリースを適用
作ったサービス https://mogami.live
技術スタック ( インフラ) Cloudflare Workers Service bindings Durable Objects D1
R2
技術スタック ( アプリ) Remix Hono Drizzle shadcn/ui satori
インフラ構成図
Remix のAction / Loader の責務に当てはまらな いものをHono で処理 Durable Objects の呼び出し
WebSocket 接続に必要 別Worker へのリクエスト Service bindings 静的ファイルの配信
Hono とRemix を動かした感想 Pages ではなくWorkers で良かった、と思う Durable Objects はPages では使えない
簡単に同一ドメインでAPI を提供できる 最初は手探りだったが、整ってきている hono-remix-adapter を今日適用した それまでは自前で書いていた これからの発展が楽しみ
hono-remix-adapter の良いと ころ 簡単にHono の上でRemix が動かせた
ここから望むところ Issue 書いたらLT 前日にPR 上がってた🙏🙏 ありがとうございます🙏🙏
今後はここを頑張りたい テストコードを書く Durable Objects / WebSocket のテスト DO がミュータブルなので慣れていない WebSocket
の知見が少ない
まとめ Cloudflare でフルスタックアプリは作れる。 お財布に優しいので、個人開発にオススメ。
ご清聴ありがとうございました Twitter: GitHub: @const_myself ogadra made by reveal.js