You Should Use Hono in your Next Project

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 105

  • @billypurdy738
    @billypurdy738 4 месяца назад +86

    A full tutorial would be amazing! Especially digging into the RPC stuff

    • @sunsande
      @sunsande 4 месяца назад +2

      1+ please full tutorial(s!)

    • @kyngcytro
      @kyngcytro 4 месяца назад +2

      I'd even settle for a repo

    • @tekne9947
      @tekne9947 4 месяца назад +1

      1+

  • @amirhoseinbagheri1999
    @amirhoseinbagheri1999 4 месяца назад +14

    yes CJ, a full tutorial (including Drizzle and the RPC stuff) sounds amazing! please and thank you 👍

  • @thedelanyo
    @thedelanyo 4 месяца назад +5

    The good thing about these episodes is how precise and concise they're.
    Tasty treats, indeed 😅😅

  • @prometheas
    @prometheas 4 месяца назад +2

    Really fantastic, concise, info-packed, and well-paced walk-through. Massive props.

  • @justBCheung
    @justBCheung 4 месяца назад +2

    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!

    • @fabulousgamer2293
      @fabulousgamer2293 2 месяца назад

      Heyyy...will the startup repo be open-source???

  • @DrDrero
    @DrDrero 4 месяца назад +35

    I have contributed to get Hono as an adapter for NestJS. Finally it arrived!

    • @rujor
      @rujor 4 месяца назад +3

      I've been waiting for that for years 🎉. Link to some docs 🤩?

  • @dalanxd
    @dalanxd 4 месяца назад +10

    Oh, this is amazing, thank you so much. Please let's go for a full tutorial 🎉❤❤❤

  • @erikslorenz
    @erikslorenz 4 месяца назад +5

    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

    • @StingSting844
      @StingSting844 4 месяца назад +1

      How do you enhance it if there is a need complex client side state? Web components or react?

    • @erikslorenz
      @erikslorenz 3 месяца назад

      ​@@StingSting844 That's the trick. I don't have complex client side state because nearly 0% of apps have complex client side state.

  • @AaronLippold
    @AaronLippold 3 месяца назад +1

    +1 on the deep dive - this seems like a great pattern

  • @jarmanjjj
    @jarmanjjj 4 месяца назад +6

    Would love a full tutorial, thanks! 🙏

  • @andystevenson6336
    @andystevenson6336 4 месяца назад

    Excellent as always. I use Hono already but a deeper dive would be an awesome tutorial.

  • @ThomasLockney
    @ThomasLockney 4 месяца назад +2

    +1 on the full tutorial!

  • @alexnahas2907
    @alexnahas2907 4 месяца назад +4

    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

  • @pranjalagnihotri6072
    @pranjalagnihotri6072 4 месяца назад +2

    Full tutorial will be definitely nice. Extremely fast way of building + shipping API during hackathon xd

  • @Kevin-hk4fv
    @Kevin-hk4fv 4 месяца назад +4

    Full tutorial with Svelte would be awesome!

  • @cristobal14
    @cristobal14 4 месяца назад +4

    Would love to see a dive deep with real examples of this! :D

  • @ahmedjaber8595
    @ahmedjaber8595 4 месяца назад +47

    Fastify: Why do you guys keep ignoring me?

    • @RogerDearly
      @RogerDearly 4 месяца назад +2

      The best one in nodejs ecosystem so far.

    • @limpep
      @limpep 4 месяца назад

      They ignore us because it's too complex for 99% of these script kiddies

    • @GamerSharp
      @GamerSharp 4 месяца назад

      Complex !== good
      ​@@limpep

    • @stickyblicky11
      @stickyblicky11 3 месяца назад

      @@limpepAn idiot admires complexity

    • @Liam-ey2gs
      @Liam-ey2gs 3 месяца назад +7

      At first glance Hono's Zod support seems far better, makes TS dev a lot easier

  • @irfanabdnst
    @irfanabdnst 4 месяца назад

    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

  • @MrSonicastra
    @MrSonicastra 4 месяца назад +1

    I would like to see more of Hono! 😉

  • @iuliancarnaru954
    @iuliancarnaru954 4 месяца назад +1

    A full tutorial would be amazing!

  • @ekekw930
    @ekekw930 2 месяца назад +4

    When is the full tutorial coming out?

  • @AbdulRehman-rb6jo
    @AbdulRehman-rb6jo 4 месяца назад +1

    Full tutorial with NestJS will be awesome.

  • @infitates4500
    @infitates4500 4 месяца назад +1

    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.

  • @_techbk
    @_techbk 4 месяца назад

    Wake up lads, a new video by CJ 🔥

  • @davlewis2011
    @davlewis2011 4 месяца назад

    definitely onboard for a full tutorial.

  • @amined801
    @amined801 4 месяца назад

    we would love to see the full tutorial, i appreciate your amazing work

  • @amidaobscura
    @amidaobscura 23 дня назад

    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?

  • @arvi8843
    @arvi8843 2 месяца назад

    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?

    • @syntaxfm
      @syntaxfm  2 месяца назад

      I wrote that schema myself, but drizzle does support this: orm.drizzle.team/docs/drizzle-kit-pull

  • @PedroSousaWebDev
    @PedroSousaWebDev 4 месяца назад +1

    full guide would be amazing

  • @gryg666
    @gryg666 4 месяца назад

    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.

  • @aberbaCodes
    @aberbaCodes 4 месяца назад

    Hey CJ, why do you prefer text over varchar in your drizzle schemas? Isn't text inefficient?

  • @radivalente
    @radivalente 3 месяца назад +2

    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 :-)

    • @syntaxfm
      @syntaxfm  3 месяца назад +4

      I'll be publishing a full tutorial and will make the source code available soon™️

    • @radivalente
      @radivalente 3 месяца назад

      @@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 ;-)

  • @codefinity
    @codefinity 9 дней назад

    Any perspectives on Fastify?

  • @sebastiangrede1728
    @sebastiangrede1728 4 месяца назад

    Full tutorial would be fantastic

  • @lazyh0rse
    @lazyh0rse 4 дня назад

    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.

  • @asadmehboob1300
    @asadmehboob1300 4 месяца назад +1

    Please lets go with full stack tutorial

  • @DavidSoards
    @DavidSoards 4 месяца назад

    would you share the repo for the OpenAPI-Demo 🙏 ?

  • @combatninjaturtle
    @combatninjaturtle 4 месяца назад +2

    Full tutorial please

  • @nagyszabolcs9451
    @nagyszabolcs9451 4 месяца назад

    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

  • @georgemwaniki
    @georgemwaniki 4 месяца назад

    Please do a full tutorial including database stuff and security

  • @w3mw
    @w3mw Месяц назад

    where can I deploy a next js app with hono in best case and for best price? :D

  • @AlameenAdeyemi
    @AlameenAdeyemi 2 месяца назад

    Can u share your custom types like the AppBindings and AppRouteHandler pls, or if someone else has written it

    • @syntaxfm
      @syntaxfm  2 месяца назад +1

      You can see these types here: gist.github.com/w3cj/232edf0eee11d7be7be01cc3facc134f
      I will be publishing a full tutorial and code example later this week.

  • @tiagoagm
    @tiagoagm 2 месяца назад

    Very nice tutorial. Do you have a github repo for this?

    • @syntaxfm
      @syntaxfm  2 месяца назад

      Yes! Checkout the full walk-through here: ruclips.net/video/sNh9PoM9sUE/видео.html
      And the code here: github.com/w3cj/hono-open-api-starter

  • @yoskokleng3658
    @yoskokleng3658 Месяц назад

    What do u think about elysia js?

    • @syntaxfm
      @syntaxfm  Месяц назад

      Looks great, but it only works with Bun.

  • @rtorcato
    @rtorcato 4 месяца назад +1

    where is the code for this demo?

  • @armandsalle8447
    @armandsalle8447 4 месяца назад +1

    Hono is fire🔥I've never use a better router, the native RPC is awesome too

  • @fullstackninjas
    @fullstackninjas 4 месяца назад

    Hono with lucia auth and turso db is good tech can u pls do the full video svelte in frontend.. Tks

  • @olehmikadze3653
    @olehmikadze3653 4 месяца назад +2

    fastify?

  • @Loige
    @Loige 4 месяца назад +1

    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!

  • @RatulMaharaj
    @RatulMaharaj 4 месяца назад +3

    Hono is cool, would also recommend trying out Elysia!

  • @Roronoa-Zoro-Wado
    @Roronoa-Zoro-Wado 4 месяца назад

    hono or trpc?
    They both kinda solve the same problem when it comes to end to end type safety

  • @thelliez
    @thelliez 4 месяца назад

    Support for proxying?

  • @salman0ansari
    @salman0ansari 4 месяца назад

    I have used hono before its such a great package
    idk why people still use express

  • @prashlovessamosa
    @prashlovessamosa 4 месяца назад

    CJ please make a full tutorial please.

  • @codeman99-dev
    @codeman99-dev 4 месяца назад

    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 :)

  • @elierh442
    @elierh442 4 месяца назад

    Full tutorial please!

  • @adenaziz3600
    @adenaziz3600 4 месяца назад

    you should also try elysiaJS

  • @sureshmutluru4532
    @sureshmutluru4532 4 месяца назад

    Waiting for a full tutorial

  • @eugene684
    @eugene684 2 месяца назад

    What about Encore?

    • @syntaxfm
      @syntaxfm  2 месяца назад +1

      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.

  • @enic-ma
    @enic-ma 4 месяца назад

    I would like the full tutorial

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt Месяц назад

    wow

  • @jaymartinez311
    @jaymartinez311 3 месяца назад +1

    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.

  • @nixoncode
    @nixoncode 4 месяца назад

    Syntax stole my favorite streamer

  • @dawid_dahl
    @dawid_dahl 4 месяца назад

    I’ll stick to Nest, thanks.

    • @syntaxfm
      @syntaxfm  4 месяца назад

      What do you like more about nest?

  • @tangsi721
    @tangsi721 Месяц назад

    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🤣🤣

    • @syntaxfm
      @syntaxfm  Месяц назад

      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

  • @theintjengineer
    @theintjengineer 4 месяца назад

    Ahem.
    I like Elysia.

  • @paca3107
    @paca3107 4 месяца назад +1

    you should use go lang in your next project*

    • @syntaxfm
      @syntaxfm  4 месяца назад

      Why go lang?

    • @paca3107
      @paca3107 4 месяца назад +2

      @@syntaxfm very good performance, nice dx and great std library make this language imo perfect for the servers.

  • @xzex2609
    @xzex2609 Месяц назад

    MERN lost its vowel MHRN

  • @MatDGVLL
    @MatDGVLL 4 месяца назад

    +++

  • @yassine-sa
    @yassine-sa 3 месяца назад

    The title is misleading

    • @yassine-sa
      @yassine-sa 3 месяца назад

      *that’s a joke

  • @LegendaryJx
    @LegendaryJx 4 месяца назад

    Meh, ElysiaJS is better

    • @syntaxfm
      @syntaxfm  4 месяца назад

      What makes it better in your eyes?

  • @Maks-fc7kv
    @Maks-fc7kv 2 месяца назад +1

    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.

    • @syntaxfm
      @syntaxfm  2 месяца назад +1

      Fastify has been around longer, but hono is very promising.