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
0
380
hono-remix-adapter使ってみた
おがどら
November 19, 2024
Tweet
Share
More Decks by おがどら
See All by おがどら
任意のドメインを破壊
ogadra
0
37
LambdaとSQLiteでシステム構築
ogadra
1
480
Terraformと AWS Lambdaで WebSocket通信
ogadra
1
260
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
Docker and Python
trallard
47
3.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
130
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
150
A Tale of Four Properties
chriscoyier
163
24k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.5k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Skip the Path - Find Your Career Trail
mkilby
1
87
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
52k
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