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
25 recasts
90 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
Steve
@stevedylandev.eth
Good points! I did purposely leave deployments open ended because both client and server can be deployed in so many different ways, which imo is why it’s beautiful. It’s not backed into a particular provider like Vercel/Next. They’re both portable and easy to migrate. However with that said I am planning on adding some details there on how to do deployments to popular vendors and likely add more to the install CLI to make it smoother if people know what they want :)
1 reply
0 recast
4 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
artlu 🎩
@artlu
example db+orm connections ser - only 1 env variable - 2.5 new dependencies - 3 files with code works for me in local dev (connecting to a real prod database). Haven't deployed this yet, but I expect no problems except very small pain on Cloudflare where bun + serverless websockets and env variables interact. Should be fine everywhere else https://github.com/artlu99/bhvr-cfnk/commit/9242b3e3d7c854dc04cef3680c32fb66addb90ad#diff-fc96f2f1bbacb040ddac600e209d0de9ce16d436be88d3995e3f72f159adc21b
0 reply
0 recast
2 reactions