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
おがどら
November 19, 2024
400
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
hono-remix-adapter使ってみた
おがどら
November 19, 2024
More Decks by おがどら
See All by おがどら
任意のドメインを破壊
ogadra
0
52
LambdaとSQLiteでシステム構築
ogadra
1
590
Terraformと AWS Lambdaで WebSocket通信
ogadra
1
260
Featured
See All Featured
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
250
Technical Leadership for Architectural Decision Making
baasie
3
490
Un-Boring Meetings
codingconduct
0
390
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Producing Creativity
orderedlist
PRO
348
40k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
390
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
420
BBQ
matthewcrist
89
10k
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