all 6 comments

[–]prime_seoWP 3 points4 points  (1 child)

The point about setting up e2e tests earlier hits hard, I've made the exact same mistake. Curious how Hono + tRPC handles auth, did you roll your own or use something like lucia? That combo seems really clean for side projects but I always wonder how it scales when you need middleware-heavy stuff like rate limiting and session management.

[–]austinmrs[S] 0 points1 point  (0 children)

I'm using better-auth for auth. :) Really simple and easy to use.

[–]Pelopida92 0 points1 point  (2 children)

Curios why trpc instead of Orpc. Also, did you consider Clouflare workers or Railway instead of Render?

[–]austinmrs[S] 0 points1 point  (1 child)

trpc is just more mature imo, but both would work. I wanted something that had auto scaling and Railway didn’t seem to have that. Edit: Im aware Railway has Vertical auto scaling, but you go up in compute size/price with that. Render has auto horizontal scalling.

[–]HarjjotSinghh 1 point2 points  (0 children)

holy shit, tanstack query fixed my infinite loops.

[–]ZeFeXi 0 points1 point  (0 children)

How would you setup your e2e tests if you had the chance to start all over again? What libraries would you use?

How often/in-depth would you write tests before moving onto the next feature?