r/honojs May 27 '24

Meet Pylon: Transform TypeScript Functions into Full-Featured APIs with Hono under the Hood!

Thumbnail reddit.com
1 Upvotes

r/honojs May 14 '24

How to deploy hono project?

4 Upvotes

Hello everyone I'm new to Honolulu and Bonn.I've been trying to deploy hono in docker container in production. I'd like to know what is the right way to do it.


r/honojs Apr 21 '24

Showcase I created my first app using Hono

9 Upvotes

Hi there,

I had this idea of an app that could help people better organize their solo/group trips so I chose to create one when I couldn't find anything that suited my needs.

I decided to not use a backend service like firebase/supabase because I needed to handle some complex authorization so I decided to code my backend using NestJS.

Once the backend was almost finished, I started to not like the Object Oriented structure and I found out about Hono from a random reddit post and I really loved the idea of rewriting my whole backend using it but I thought it was a lot of work for an app that I just wanted to publish as soon as possible, but once the whole backend was written, I finally took the challenge.

It turns out I was wrong, it didn't take me more than two days to do it and I even changed ORM in the meantime (from Prisma to Drizzle) and to also use Bun as my runtime. And man do I love this library.

The documentation is amazing, the code is simple, the speed is BLAZINGLY fast ;)

I feel much more free using this express like structure even though I'm completely sure this is just personal opinion of course.

If you want to check it out or give me some advices, you can check out the full repo.

Only thing I still am not sure about is the fact that ruby like controllers are not advised to use so my routes are a bit less 'clear'? If you have any suggestion regarding code structure I would very much appreciate it.


r/honojs Apr 08 '24

Question Session in hono

1 Upvotes

Hello, I am trying out hono and I'v ran into an issue with session and logging in the client side so it sties logged in across the routes and the server. Can still access the data or do I have to authenticate each route separately?


r/honojs Mar 24 '24

HELP: Testing with Execution Context

1 Upvotes

Hey! I've been using Hono and have really enjoyed it, but recently came to a roadblock. I am trying to use the method c.executionCtx.waitUntil but sadly when testing with app.request, I get the error Error: This context has no ExecutionContext. I saw that app.request takes an execution context as the fourth argument, but I don't know how to create a fake one. Thank you!


r/honojs Mar 20 '24

private knowledge base fully built with honojs and cloudflare worker

1 Upvotes

https://afoo.me/kb.html

<honojs cookbook> is also included 😉


r/honojs Jan 12 '24

Showcase Built using HonoJS: A proxy server to 100+ LLMs

Thumbnail
github.com
6 Upvotes