The DX of this stack is really unparalleled at the moment for typescript monorepos. Elysia is great too but hono is just so much more promising in terms of runtime support. I've really enjoyed running it in a service worker for my PWA. The only downside is the openapi support is a bit second class at requires more boilerplate then something like fastify. hopefully they find a way around this
Amazing.. I used express with express-zod-api library before.. It has great dx like trpc and well integrated with openapi.. now I think I can move to hono.. I can’t wait to see a tutorial video for this.. thanks
I tried hono some time ago and the experience was really positive, the only problem i have with building traditinonal frontend + backend apps is that deployment is (atleast for me) much more trouble than something like nextjs.
Nice video! Started with Hono myself but in a Cloudflare environment. One questions: how would you share the api definition to the frontend client generator if the frontend and backend are 2 different codebases / repos?
I'd love to see the repo for the code you show! I've tried to do something similar as you, but I'm missing a few points that I'd like to see how you solved.
Hello, really nice introduction to Hono. Is it possible to view the whole code of this example somewhere? I would much appreciate. Really good work from you as always. Love your tutorials :-)
Good, but how am I gonna integrate this with nextjs? I would remake the whole auth and everything from the ground up in hono, not to mention it will be a separate process from nextjs. At this point using something like python or go is much better choice.
This looks great! Thank you for the video! 😁 Could you provide a repository for this project? I'm really interested in the helper types to be able to have handlers types
You can see these types here: gist.github.com/w3cj/232edf0eee11d7be7be01cc3facc134f I will be publishing a full tutorial and code example later this week.
Hono is super interesting :) Just curious to know if you have also tried Fastify and if you have compared it with Hono and Express... It might be a good topic for another video, maybe! Anyway, thanks for the always insightful content, CJ! Keep it coming!
Express has typed parameters too? It's a little more verbose, but it is there. I really hope there's more here. I really do *not* love all of the middleware is built in. The more built in there is, the easier it is to accidentally create a walled garden. Express itself moved away from built-in middleware for exactly that reason. OK, the drizzle stuff is really cool. Though to be fair, I still have yet to touch drizzle. So far just developing vicariously through you :)
Looks interesting, but doesn't have an RPC client (requires code generation), built in data validation is minimal right now and the API / syntax is very different from express. I like how similar hono is to express but with added type safety.
A full tutorial please but not with to many bells 🔔 and whistles. More let’s say vanilla hono with typescript. So we can see what hono can do on its own.
I thought you were taking about You Should Use Hono in your NextJs Project, i didn't notice it is Next not NextJs until I finished all the video😂😂 But hey, seriously, how do I use hono in my nextjs Project? because if I use hono in nextjs, nextjs server becomes a joke, but if I skip nextjs server, the whole nextjs thing becomes a joke🤣🤣
Fastify. Or pure node. There no better choice. Hono seems interesting but fastify much more powerful. Express sucks all its life. Never used this sh*t.
A full tutorial would be amazing! Especially digging into the RPC stuff
1+ please full tutorial(s!)
I'd even settle for a repo
1+
yes CJ, a full tutorial (including Drizzle and the RPC stuff) sounds amazing! please and thank you 👍
The good thing about these episodes is how precise and concise they're.
Tasty treats, indeed 😅😅
Really fantastic, concise, info-packed, and well-paced walk-through. Massive props.
Thank you for this breakdown! Was planning to use hono and drizzle for my startup and this video made me super excited to start using them!
Heyyy...will the startup repo be open-source???
I have contributed to get Hono as an adapter for NestJS. Finally it arrived!
I've been waiting for that for years 🎉. Link to some docs 🤩?
Oh, this is amazing, thank you so much. Please let's go for a full tutorial 🎉❤❤❤
Literally moved an app from express to hono today. Wanted to have a simple admin dashboard so being able to use jsx as templating is nice
How do you enhance it if there is a need complex client side state? Web components or react?
@@StingSting844 That's the trick. I don't have complex client side state because nearly 0% of apps have complex client side state.
+1 on the deep dive - this seems like a great pattern
Would love a full tutorial, thanks! 🙏
Excellent as always. I use Hono already but a deeper dive would be an awesome tutorial.
+1 on the full tutorial!
The DX of this stack is really unparalleled at the moment for typescript monorepos. Elysia is great too but hono is just so much more promising in terms of runtime support. I've really enjoyed running it in a service worker for my PWA. The only downside is the openapi support is a bit second class at requires more boilerplate then something like fastify. hopefully they find a way around this
Full tutorial will be definitely nice. Extremely fast way of building + shipping API during hackathon xd
Full tutorial with Svelte would be awesome!
Would love to see a dive deep with real examples of this! :D
Fastify: Why do you guys keep ignoring me?
The best one in nodejs ecosystem so far.
They ignore us because it's too complex for 99% of these script kiddies
Complex !== good
@@limpep
@@limpepAn idiot admires complexity
At first glance Hono's Zod support seems far better, makes TS dev a lot easier
Amazing.. I used express with express-zod-api library before.. It has great dx like trpc and well integrated with openapi.. now I think I can move to hono.. I can’t wait to see a tutorial video for this.. thanks
I would like to see more of Hono! 😉
A full tutorial would be amazing!
When is the full tutorial coming out?
Full tutorial with NestJS will be awesome.
I tried hono some time ago and the experience was really positive, the only problem i have with building traditinonal frontend + backend apps is that deployment is (atleast for me) much more trouble than something like nextjs.
Wake up lads, a new video by CJ 🔥
definitely onboard for a full tutorial.
we would love to see the full tutorial, i appreciate your amazing work
Nice video! Started with Hono myself but in a Cloudflare environment.
One questions: how would you share the api definition to the frontend client generator if the frontend and backend are 2 different codebases / repos?
Did you manually type the drizzle part of the video or is there some codegen like in kysely where you supply db and it generate typings?
I wrote that schema myself, but drizzle does support this: orm.drizzle.team/docs/drizzle-kit-pull
full guide would be amazing
I'd love to see the repo for the code you show! I've tried to do something similar as you, but I'm missing a few points that I'd like to see how you solved.
Hey CJ, why do you prefer text over varchar in your drizzle schemas? Isn't text inefficient?
Hello, really nice introduction to Hono. Is it possible to view the whole code of this example somewhere? I would much appreciate. Really good work from you as always. Love your tutorials :-)
I'll be publishing a full tutorial and will make the source code available soon™️
@@syntaxfm Thanks for the reply :-) This is pretty good news. I am really looking forward to. Thumbs up and again you are amazing, keep pushing ;-)
Any perspectives on Fastify?
Full tutorial would be fantastic
Good, but how am I gonna integrate this with nextjs? I would remake the whole auth and everything from the ground up in hono, not to mention it will be a separate process from nextjs. At this point using something like python or go is much better choice.
Please lets go with full stack tutorial
would you share the repo for the OpenAPI-Demo 🙏 ?
Full tutorial please
This looks great! Thank you for the video! 😁
Could you provide a repository for this project?
I'm really interested in the helper types to be able to have handlers types
Please do a full tutorial including database stuff and security
where can I deploy a next js app with hono in best case and for best price? :D
Can u share your custom types like the AppBindings and AppRouteHandler pls, or if someone else has written it
You can see these types here: gist.github.com/w3cj/232edf0eee11d7be7be01cc3facc134f
I will be publishing a full tutorial and code example later this week.
Very nice tutorial. Do you have a github repo for this?
Yes! Checkout the full walk-through here: ruclips.net/video/sNh9PoM9sUE/видео.html
And the code here: github.com/w3cj/hono-open-api-starter
What do u think about elysia js?
Looks great, but it only works with Bun.
where is the code for this demo?
Hono is fire🔥I've never use a better router, the native RPC is awesome too
Hono with lucia auth and turso db is good tech can u pls do the full video svelte in frontend.. Tks
fastify?
Hono is super interesting :) Just curious to know if you have also tried Fastify and if you have compared it with Hono and Express... It might be a good topic for another video, maybe!
Anyway, thanks for the always insightful content, CJ! Keep it coming!
Hono is cool, would also recommend trying out Elysia!
hono or trpc?
They both kinda solve the same problem when it comes to end to end type safety
Support for proxying?
I have used hono before its such a great package
idk why people still use express
CJ please make a full tutorial please.
Express has typed parameters too? It's a little more verbose, but it is there. I really hope there's more here.
I really do *not* love all of the middleware is built in. The more built in there is, the easier it is to accidentally create a walled garden. Express itself moved away from built-in middleware for exactly that reason.
OK, the drizzle stuff is really cool. Though to be fair, I still have yet to touch drizzle. So far just developing vicariously through you :)
Full tutorial please!
you should also try elysiaJS
Waiting for a full tutorial
What about Encore?
Looks interesting, but doesn't have an RPC client (requires code generation), built in data validation is minimal right now and the API / syntax is very different from express. I like how similar hono is to express but with added type safety.
I would like the full tutorial
wow
A full tutorial please but not with to many bells 🔔 and whistles. More let’s say vanilla hono with typescript. So we can see what hono can do on its own.
Syntax stole my favorite streamer
I’ll stick to Nest, thanks.
What do you like more about nest?
I thought you were taking about You Should Use Hono in your NextJs Project, i didn't notice it is Next not NextJs until I finished all the video😂😂
But hey, seriously, how do I use hono in my nextjs Project? because if I use hono in nextjs, nextjs server becomes a joke, but if I skip nextjs server, the whole nextjs thing becomes a joke🤣🤣
Hono has a section in their docs that shows how to add a catch all api handler with hono: hono.dev/docs/getting-started/vercel#_2-hello-world
Ahem.
I like Elysia.
you should use go lang in your next project*
Why go lang?
@@syntaxfm very good performance, nice dx and great std library make this language imo perfect for the servers.
MERN lost its vowel MHRN
+++
The title is misleading
*that’s a joke
Meh, ElysiaJS is better
What makes it better in your eyes?
Fastify. Or pure node.
There no better choice.
Hono seems interesting but fastify much more powerful.
Express sucks all its life. Never used this sh*t.
Fastify has been around longer, but hono is very promising.