Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
Steve
@stevedylandev.eth
You can just make a new stack Β―\_(γ)_/Β― Introducing bhvr 𦫠Bun + Hono + Vite + React Fully typesafe monorepo starter check it out with bun create bhvr bhvr.dev
24 replies
26 recasts
100 reactions
jp π©
@jpfraneto.eth
holy shit this is incredible
1 reply
0 recast
4 reactions
jp π©
@jpfraneto.eth
imo itβs missing the most important part tho: how to deploy? how to connect a database and its ORM? with those two pieces this will be a no brainer π
3 replies
0 recast
3 reactions
artlu π©
@artlu
bun and hono are easy to deploy anywhere for db, suggest checking out kysely + neon postgres. it will require two env variables, two dependencies, a migrations file, and 2-3 code files that any autocomplete can write for you
1 reply
0 recast
2 reactions
jp π©
@jpfraneto.eth
amazing. whatβs your preferred color place where to deploy bun and hono?
1 reply
0 recast
2 reactions
artlu π©
@artlu
check out cloudflare and netlify; compare against vercel (easiest); go to aws at some point or self-host if you like it. be aware that cloudflare catches a lot of people by surprise when libraries have Node dependencies in them, or, tutorials tell you to use process.env and you have to figure out a workaround
3 replies
0 recast
1 reaction
Steve
@stevedylandev.eth
Cloudflare is definitely my favorite. @artlu is right that the env setup is a bit different but the Hono docs cover it: https://hono.dev/docs/getting-started/cloudflare-workers#bindings Also Cloudflare workers do have a nodejs compatibility flag that supports most stuff https://developers.cloudflare.com/workers/runtime-apis/nodejs/
0 reply
0 recast
2 reactions