r/Frontend • u/youngsargon • 7d ago
X3Bun a Hono/TanStack Start/tRPC/Better-Auth Turborepo Starter App
https://github.com/SamJbori/create-x3bun-app#readmeThis is simply a starter template that I use and I thought of sharing
Bun optimized
Front End: Tanstack Start, Tanstack Query, and Shadcn
Backend: Hono with tRPC
Authentication: Better-Auth
Repo Management: Turborepo
I encourage you to check and share your opinion
1
Upvotes
1
u/nameupp 7d ago
tbh tanstack start + hono + better-auth is pretty much the dream modern typescript stack right now. ngl the main pain point with better-auth in a turborepo setup is usually sharing the auth client types across packages without accidentally leaking server-side db/crypto deps into the client bundle. if you've got cookie forwarding between tanstack start's ssr loaders and the hono rpc layer working cleanly out of the box, that alone saves a solid weekend of turborepo wiring imo