Remix.run Logo
jherdman 3 days ago

Have you tried Elysia (https://elysiajs.com/)? Admittedly I'm not using it at scale, but it's quite pleasant.

internetter 3 days ago | parent | next [-]

I've written 10s of thousands of lines of Elysia+Kysely and its a match made in heaven

jherdman 3 days ago | parent [-]

I’m curious about your choice of Kysely. I’ve really only used Drizzle. It’s fine but it has some very rough edges around Bun and SQLite.

internetter 2 days ago | parent [-]

I'd rather use SQL than an ORM. Kysely is basically a wrapper for the SQL query syntax inside typescript which has the benefit of composability and incredibly rich typescript support

pier25 3 days ago | parent | prev [-]

I checked it out and it looks good on paper but it only runs on Bun.

Don't get me wrong, I use Bun and I'm happy with it, but it's still young. With Hono/Drizzle/Zod I can always switch back to Node or Deno if necessary.

bytehowl 3 days ago | parent [-]

ElysiaJS's blog claims that support for other runtimes was added in 1.2: https://elysiajs.com/blog/elysia-12.html#adapter

pier25 2 days ago | parent [-]

Thanks I wasn't aware of this