i've been using NodeJS and Next.js stacks lately and man how i miss Rails
I've been using it with drizzle-orm[1] and it's been ok.
I still miss all the other stuff you get from Rails out of the box, but it's more complete than just Next.js without all the React acrobatics.
[0] - https://kit.svelte.dev/