Stack for T3 (tRPC, Drizzle, Tailwind, NextAuth) + Bun + turborepo
I'm spending this weekend (and possibly part of the week) setting up a starter template with those so I can migrate a project for my work.
It needs to:
- be a monorepo (so turborepo)
- have next-auth (we already use it)
- use App Router (we already migrated)
It's optional:
- have Drizzle, but highly desirable.
- use Bun, but is so fast (that I need it 🏎️)
- have tRPC set up (I'll be migrating the whole api later and so I can delay this)
- be in Next 14 (but would be nice)
Has anyone tried something like this already (I imagine some of you have)?
If so I would love any links to repos that include as much as those items or are near enough.
7 Replies
Not using bun but pnpm, also not using tRPC yet but the code is there to use it and implement it. https://github.com/Eirfire/Meally
GitHub
GitHub - Eirfire/Meally: Meally is an open source, community-driven...
Meally is an open source, community-driven recipe platform where home cooks and food enthusiasts can collaborate on unique and delicious recipes. - GitHub - Eirfire/Meally: Meally is an open source...
Using drizzle, and at 13.5.6 just do the simple upgrade and a pnpm up —latest to upgrade everything and I’m assuming a quick fix to get it working with bun
What’s your repo? If it’s public that is
My repo is not public sadly, can't just put it out. But after figuring it out I intend to make a template and have it public.
I've looked into your repo and it is already helping me put things together.
I've managed to get trpc working too, and soon I'll be able to start the template
Also thanks for the repo @Eirfire , it's really helping (also liked the resend setup, definitely will be copying it)
Yeh that’s fair can’t always afford to have things open sourced.
that’s okay the setup for resend is pretty good I followed dub.co for their setup for it, I’ll add that in the comments for that code soon
If you could post the link when that template up that would be great so I can setup tRPC in my app properly
Sure, I'll keep you
Could you add a simple crud (todolist) inside? Thanks!
definitely I'll have some logic inside the template, keep tuned