Amazing video! I don’t know if it’s just me but: being able to write your server logic in Typescript without extra tooling, the fact you can write JSX, just amazing, my only concern with these new and better technologies is compatibility with existing libraries and packages, maybe you could do a video addressing that
@ayushgogna9732
9 ай бұрын
i wanted to use hono for a time now but bun and hono combined looks crazy fun. I think the next project will be with bun and hono
@aldrickdev
9 ай бұрын
the use of context reminds me of how Golang Web Frameworks like Gin and Echo work. Pretty nice!
@gusparr28
8 ай бұрын
Same here! I was looking for this comment
@raident29
8 ай бұрын
JS developers change frameworks more often than they take a bath.
@jotaroisdarius1918
3 ай бұрын
yeah this is getting rediculous lol
@TolyaBogomolov
2 ай бұрын
Express.JS is 14 years old. So, this is a little bit concerning. How can a human being survive without showering for 14 years straight?
@raident29
2 ай бұрын
@@TolyaBogomolov i see humor is lost to js devs
@malcolmn.5222
2 ай бұрын
Why complain most of this stuff is free and you get to use something that you like.
@aaabbbcccdddeeeefffggg
22 күн бұрын
@@TolyaBogomolov I'm not sure. Back in the caveman days they would still take a shower at least once a week, so I just can't imagine.
@Marujah07
9 ай бұрын
Amazing! We’re waiting for a full Tutorial ;-)
@zlatkoiliev8927
8 ай бұрын
I am absolutely blown away! 😮 This is so much better than Node and Express! If they come up with a framework like Nest or Adonis with bun and hono, it will absolutely dominate the backend world!
@blkgames1447
8 ай бұрын
Did you ever test elysia i'm looking for something performant and reliable
@npx_riff_lift-g
2 ай бұрын
Same here. Bun + Hono is such a nice combo. Easy to work with, and holy f-- it’s performant.
@kodekorp2064
9 ай бұрын
While bun is great, Bun is still reliant on one primary developer. I love bun and will continue to use it for smaller projects or side projects, but until it becomes reliable longevity wise, I prefer to stay with the standard tech for now for business focused work.
@WillDelish
9 ай бұрын
Luckily hono supports node too
@uchennaofoma4624
8 ай бұрын
@@WillDelishtrue
@juststudying1019
4 ай бұрын
JS developers are sick to be honest they always run for new things without any need, searching for the perfect library or runtime or framework and they never find one or will. I am a js developer but the community is just too much, and I am not against developing more libraries that are better, but not hundred of solutions for the same problem and most of them are the same
@pmrebel2733
Ай бұрын
Today bun is good tomorrow there is something better and we all abandon bun😢
@ainulyaqin1958
5 ай бұрын
that absolutely look great!, would be nice to see hono - monorepo tutorial :D
@TianYuanEX
23 күн бұрын
Can hono be used in non serverless environments? Because if it can't how would you implement socket connections or anything that needs a longer connection
@Hut-181
5 ай бұрын
What about the server folder you created at the start, Sam? 😁
@DoudouCircus
7 ай бұрын
That is very cool I usually use python for backend development but I am excited to try hono and bun
@ajinkyax
4 ай бұрын
Thanks now I understand why Hono is better that ElisiaJS too 🎉
@CSkyGameGen
7 ай бұрын
Yes we would love a tutorial on vite and hono please 🙏
@pedapudiraviteja7388
5 ай бұрын
Which cli and cli font are you using? I'm so obsessed with the fonts, ain't I?
@zb2747
7 ай бұрын
Being able to serve HTML using JSX instead of EJS or other template language is so good!!!
@flipperiflop
9 ай бұрын
Damn, Hono looks incredible!
@anasaitzouinet9699
4 ай бұрын
im always wanting to try bun , but i don't know if its stable for production yet or not
@harryzachariou1
8 ай бұрын
This is great! Is there support to integrate Bun into a AWS lambda runtime and Hono into an AWS lambda proxy?
@nutrimindnutricion2474
3 ай бұрын
Please more of hono.js 🙂
@brtk7
7 ай бұрын
Could you compare Hono and tRPC? It appears they both have similar capabilities. Thanks!
@kamalkamals
23 күн бұрын
hono still has a loooot of issues like websocket implement and graphql like yoga with enable ws ...etc, so i cannot recommend hono for now
@brunoacev
9 ай бұрын
that is soo good dud, i see yesterday.
@BunnyMolester
5 ай бұрын
Hey Sam, how can we connect to a database while calling APIs
@blkgames1447
8 ай бұрын
What about elysia? Can you also review that project?
@patrick_kabwe
9 ай бұрын
Hi Sam, have you built a production app with bun? if yes how has been your experience?
@SamMeechWard
9 ай бұрын
It’s been awesome, only great things to say about using bun. I’ve been deploying to fly.io.
@patrick_kabwe
9 ай бұрын
@@SamMeechWard Wow! will definitely try it. Thanks
@mdmathewdc
9 ай бұрын
Definites on what a production app is - if you mean an app with thousands of live users, then Bun isn't stable for that.
@patrick_kabwe
9 ай бұрын
@@mdmathewdc Please share your experience.
@blender_wiki
8 ай бұрын
We have few public API running with bun, it is just great.
@TechnologicNick
9 ай бұрын
I just had to rewrite a small webapp because Flask doesn't handle SSE nicely, and Bun + Hono works so much better. Thanks a lot for showing this setup!
@zenithdevgroup
8 ай бұрын
Have they solved Bun not working with SSH-ed25519? I couldn't use Bun due to my SSH dependencies not working with it.
@ronaldtejada8846
5 ай бұрын
I'm interested in hono + react app and how the live together and interact
@elephant_888
9 ай бұрын
There’s a Safari bug that prevents Bun web servers from successfully sending binary downloads like images and files to that web browser. 😢
@sagaryenkure5112
3 ай бұрын
Make a video on how to deploy it
@kasper369
6 ай бұрын
do you think hono is production read?
@nathanschmidt1988
4 ай бұрын
What clipboard manager to copy paste is he using?
@SamMeechWard
4 ай бұрын
alfred
@ChristianEscalante
8 ай бұрын
I would like to see this working with vite, it sounds interesting.
@natainditama
9 ай бұрын
How about koa js. It's like similar with hono right ?
@returnZeroo
9 ай бұрын
waiting to watch a vite and hono full fledged tutorial
@dwighsonPavion
9 ай бұрын
this jsx templating combined with htmx, sounds like a match made in heaven. Things like resuable layouts will then be handled by htmx 🤔
@Meuhandle
8 ай бұрын
Do you get any memory leaks?
@bipinsingh9318
9 ай бұрын
Great content
@boot-strapper
7 ай бұрын
Elysia is the best one I have ever found
@elson_correia
8 ай бұрын
express.js is like jQuery. It will never die
@puredistillates
9 ай бұрын
make the tut
@naimurX
7 ай бұрын
Hono + vite video pls
@ReyLamurin
9 ай бұрын
Hono!! Another Javascript framework!!
@JacksonMarshal
8 ай бұрын
Bun is great, but it doesn't work with Windows yet. :(
@pixelriegel
8 ай бұрын
how do you deploy Hono. I tried it but I have no clue how.
@SamMeechWard
8 ай бұрын
Depends on where you want to deploy. I think one of the easiest solutions is to use fly.io If you use their CLI, you just run `fly deploy`
@pixelriegel
8 ай бұрын
I wanted to use it in a Docker Container to selfhost in a cluster @@SamMeechWard
@draxler.a
5 ай бұрын
i use vanilla js for routing 😂😂 believe it or not it work perfectly without all dos funcy library 😂
@cartermckay1509
7 ай бұрын
Thanks!
@Kats0unam1
8 ай бұрын
I stopped using JS on the server because Go exists
@dominicbruhwiler3042
8 ай бұрын
Why do you prefer Go? Just because it's faster? What about the developer experience?
@Kats0unam1
8 ай бұрын
@@dominicbruhwiler3042 dev experience ? lol. just learn something else that isn't js and your "dev experience" will sky rocket 200000%
@thecyberyak
8 ай бұрын
Deno and Hono maybe? 🤔
@LucasdosSantosWundervald
8 ай бұрын
Yeah, let`s call my managers and say to then that they need to change all their products to Bun and Hono hahahahaha
@manuchehrraupov9798
3 ай бұрын
It's not slow and out dated)
@sarowarhosen003
8 ай бұрын
It would be good if bun support prisma
@Agent_Six_
8 ай бұрын
It does > bun add -d prisma > bun add @prisma/client > bunx prisma init --datasource-provider sqlite
@sarowarhosen003
8 ай бұрын
@@Agent_Six_ lemme try.
@pmrebel2733
Ай бұрын
Please i will just stick with PHP
@jonny__b
17 күн бұрын
Do you live in the US? Your english accent is a little yankish
@maximumcockage6503
5 ай бұрын
Hyper Express and Node shits all over Bun and Hono though.
@zunnoorainrafi5985
9 ай бұрын
Bro will you make a full stack application using Bun, so that we can learn something from your experience
@dinckelman
8 ай бұрын
The way you can learn from this experience is if YOU make a full-stack app using Bun. His knowledge isn’t magically transferred into your head
@Agent_Six_
8 ай бұрын
Is it that you're not sure how full-stack works? Here. OPEN THE TERMINAL AND RUN > mkdir HotelTrivago > cd HotelTrivago > bun init > bun install express cors CREATE FILE CALLED "server.js" IN THE "HotelTrivago" FOLDER THEN BUILD AN API THAT SPITS OUT SOME TEXT USING THE BELOW CODE START CODE BLOCK const express = require('express'); const cors = require('cors'); const app = express(); app.use(cors()); app.get('/', (req, res) => { res.send("Trivago"); }); app.listen(3000, () => { console.log('listening on port 3000'); }); END CODE BLOCK BACK TO THE TERMINAL AND START UP THIS BAD BOY > bun server.js OPEN BROWSER AND GO TO 'localhost:3000/' AND BEHOLD, OUR SERVER/API HAS RESPONDED WITH THE WORD "Trivago" NOW WRITE A CLIENT APP THAT USES THIS API ENDPOINT CREATE AN "index.html" FILE ANYWHERE, OPEN WITH A TEXT EDITOR AND INSERT THIS MARKUP START MARKUP BLOCK async function clickityclickity() { let response = await fetch('localhost:3000'); let data = await response.text(); document.querySelector('p').innerHTML = data; } Hotel? Click Me END MARKUP BLOCK NOW OPEN "index.html" WITH A BROWSER CLICK THE BUTTON AND BEHOLD THE "Hotel?" TURNS INTO A "Trivago" FULL STACK, BABY
@pmrebel2733
Ай бұрын
Please i will just stick with PHP
@AjayYoutube-rz2so
9 ай бұрын
Your content is really amazing, i would love to see a vite and hono full fledged tutorial.
@koteelok2014
9 ай бұрын
Yo, can't wait for Hono+Vite+React setup tutorial!
@armandsalle8447
9 ай бұрын
I've tried a couple of time to make it works but failed! Can't wait to see the video!
@jarnathan-snow
8 ай бұрын
Man just ditch React and Client frameworks once and for all. You have JSX on the server with these. What else do you need?
@voidmind
8 ай бұрын
I'd love to see that too. Where I work, we use Next.js (page router) for a big web app and the DX is terrible. The dev server crashed at least one a day and take close to 2GB of memory. All I care about in Next if getServerSideProps(), so if I could use something lightweight to replace it, that would be awesome.
@ustav_o
5 ай бұрын
beth stack but hono @@jarnathan-snow
@koteelok2014
4 ай бұрын
@alaskandonut yoooo, thx bud
@hanibioud
8 ай бұрын
Thumbs up if you don't even understand what he's saying.
@antareephasan
8 ай бұрын
😂
@elpolodiablo5486
8 ай бұрын
Are you dumb ?
@killerdroid99
8 ай бұрын
I understand what he's saying
@fuzzboi
7 ай бұрын
Gotta practice more with fullstack projects
@aldi_nh
5 ай бұрын
dude get recommended wrong videos
@gadgetboyplaysmc
8 ай бұрын
Have you tried Elysia? The DX is really amazing
@jarnathan-snow
8 ай бұрын
it is not. Have you tried nesting guards?
@killerdroid99
8 ай бұрын
@@jarnathan-snowyh that's a chore but I prefer beforehandle function
@Badis-n2u
9 ай бұрын
I started to think that web dev is getting more broken with time, First, it was html css Javascript & php Then react angular express angular react vite mysql Today react express mongodb express nextjs nestjs bo fo ko do so & nono One year from now they will be +infinity
@Badis-n2u
9 ай бұрын
We will be done with mentel fog
@hba6018
8 ай бұрын
Htmx
@VictorMongi
9 ай бұрын
Hello sam, how about ElysiaJs?
@rmnkot
8 ай бұрын
It would be great to see the performance part in comparison with express, fastify on node to understand the capabilities of this modern framework
@blender_wiki
8 ай бұрын
Google is your friend: "Node.js vs Deno vs Bun: Express hello world server benchmarking"
@darkoplax7688
9 ай бұрын
I wish Bun had Windows and Nextjs support ... hopefully soon
@fabrice9848
22 күн бұрын
Just quit using Windows and start using Linux, you'll thank me later.
@sujjee
9 ай бұрын
Hey sam please make a comparison between Hono and ElysiaJS
@2xxxtrem
9 ай бұрын
What are your thoughts on Hono vs. Elysia? What do you prefer about Hono?
@paulsanchez5030
8 ай бұрын
Yes, but why would you ever excuse using JS as a server in 2024? after all we have learned that js sucks for servers already, right?
@6112115
7 ай бұрын
Sure, but the same can’t be said for typescript…
@cyrilgeorge7818
9 ай бұрын
You know what I have an old express project, I will try migrating it to bun + hono . Want to see what are the gotchas in this combo.
@naranyala_dev
9 ай бұрын
HTMX, HTMX, HTMX
@jaymartinez311
5 ай бұрын
Tutorial for hono/vite if possible. Idk if you already did it but thanks ahead of timeif you are thinking about it.
@DamirSecki
9 ай бұрын
You are going so fast... is hard to follow... but none the less... very valuable content. thanks
@blender_wiki
8 ай бұрын
In YT you have a great option to slow down the playback speed of a video and also an advanced button called "pause".🤷🏿♀️🤷🏿♀️🤷🏿♀️
@DamirSecki
8 ай бұрын
@@blender_wiki will this magic button also give all the context that I need? Is not the speed of the video that is fast... but the flow... but thanks for such a lovely condesending and mansplaining comment! We def. need more of these!
@danvilela
6 ай бұрын
Hono seems cool, but after Sveltekit I can’t see me using another tool for api
@shouryansharma
4 ай бұрын
error: Cannot find module "react/jsx-dev-runtime" from "/Users/sam/Documents/server/src/app.tsx"
@fullstack_journey
8 ай бұрын
Subscribed for the hono+vite magic that you'll drop
@domw2391
8 ай бұрын
How hono vs Elysia?
@aprilm2941
9 ай бұрын
You had me at “Because Bun” it’s always about the bun
@ayushgogna9732
9 ай бұрын
can you also make a video on elysiajs and bun
@igortrifonov9339
8 ай бұрын
I stopped using JS cuz Go
@pleasestop9828
8 ай бұрын
The only based comment here
@oldadajbych8123
6 ай бұрын
As informative this video was, it was also quite fun, because hovno (read almost like hono) means shit in Czech.
@anonlegion9096
9 ай бұрын
You just stopped using express now?? You should've stopped using express when Fastify came out
@whodoneitx2x
9 ай бұрын
Could you make a video integrating tRPC with hono?
@SteepVisions
7 ай бұрын
Guys stop. Express is great. What are you going to do now? Re-invent html?
@ivv3393
7 ай бұрын
The problem with this new tech is that the industry doesn't implement it. They stick with the OG tech. So spending time learning something like that could be wasting of time sadly.
@wobsoriano
7 ай бұрын
yep
@tobeythepancake
6 ай бұрын
It’s pretty straight forward though, anyone with react and express knowledge will pick this up in an hour.
@Sammysapphira
5 ай бұрын
It doesn't take any time to learn this if you already know express. That was the point of bun, to supercede node, express, npm, but actually fast since it runs on zig.
@juststudying1019
4 ай бұрын
JS developers are sick to be honest they always run for new things without any need, searching for the perfect library or runtime or framework and they never find one or will. I am a js developer but the community is just too much, and I am not against developing more libraries that are better, but not hundred of solutions for the same problem and most of them are the same
@malcolmn.5222
9 күн бұрын
@@juststudying1019 you're complaining like you are making these solutions smh
@ajdinpipo08
9 ай бұрын
It's kinda mix of express.js and golang. But anyway looks so cool and clean
@gryg666
9 ай бұрын
Hah, I'm doing the same! With drizzle orm and vitest it's perfect stack for me.
@MattChinander
6 ай бұрын
Where can this be deployed?
@juststudying1019
4 ай бұрын
Great video Sam, thanks. BUT JS developers are sick to be honest they always run for new things without any need, searching for the perfect library or runtime or framework and they never find one or will. I am a js developer but the community is just too much, and I am not against developing more libraries that are better, but not hundred of solutions for the same problem and most of them are the same
@andgo-fabian
5 ай бұрын
Why is everybody suddenly using bun? I am glad I didn't get on the deno train now that bun is the next cool thing. I will probably also be happy not having jumped on the bun train once its hype goes down and to just having stuck to npm which is the most proven.
@programcoffee1080
7 ай бұрын
Next month another Super Fast Framework and yet, the main app are running on the good and old Spring, Express and Django...I love the educational content though
@cholasimmons
3 ай бұрын
Are you able to run a successful docker build with Bun? I've been bashing my head for the past 6 versions
@JakubSK
8 ай бұрын
Oh no.. Express is still here Ava Node.js hasn’t been replaced. Wrong again guys.
@MeerUzairWasHere
7 ай бұрын
Nah... Express can't die :)
@martinoveer9483
7 ай бұрын
Dude your videos are unwatchable... slow down. If you want people able to watch it, do NOT assume everyone can run same speed as the fastest runner in video :)
@bugged1212
8 ай бұрын
What's it with these mustached programming mofo's popping up everywhere.
@zuzukouzina-original
8 ай бұрын
I don’t think Express will miss you 😂 You could’ve used NestJ, but hey it’s your choice.
@ArielBenichou
4 ай бұрын
do you have a video about exposing an ML (AI) model thourgh a JS/TS API?
@pallu83
8 ай бұрын
So what problem is this fixing? Express too slow? Too slow for what? For who? Respect to what ?
@kurniamassidik5798
4 ай бұрын
since i only new about express js, could be more risk to implement this to my project, but i will try my best to use it from my next project
Пікірлер: 264