BillyBob
BillyBob13mo ago

Looking for an up to date boilerplate for tRPC & Fastify.

Looking for an up to date boilerplate for tRPC & Fastify.
17 Replies
<DxD/>
<DxD/>13mo ago
GitHub
GitHub - maybemaby/fastify-trpc-next: A starter project monorepo wi...
A starter project monorepo with Fastify, tRPC, and Next.js. Monorepo setup with Turborepo and pnpm. - GitHub - maybemaby/fastify-trpc-next: A starter project monorepo with Fastify, tRPC, and Next.j...
<DxD/>
<DxD/>13mo ago
hope it helps
BillyBob
BillyBobOP13mo ago
thanks! I am having a nightmate with TS at the moment and imports. Are you competent in that area
<DxD/>
<DxD/>13mo ago
well...what's the problem ?
BillyBob
BillyBobOP13mo ago
sorry. ambiguous questions from me. Im going to restart using the template you sent above which looks nice and hopefully i dont get the errors again is that yours by the way ?
<DxD/>
<DxD/>13mo ago
ok nope i don't use Fastify
BillyBob
BillyBobOP13mo ago
express? or nest
<DxD/>
<DxD/>13mo ago
express
BillyBob
BillyBobOP13mo ago
Hey are you about? The problem i had is with importing from index.ts within a subfolder and i get the error Error: Must use import to load ES Module
<DxD/>
<DxD/>13mo ago
I need more details Or some cod
BillyBob
BillyBobOP13mo ago
https://github.com/lwears/moviedb when running npm run dev an issue with the importing from the folder routes it seems to be due to type: modulein package.json but when i remove that i get an error with superjson
<DxD/>
<DxD/>13mo ago
Have u try a npm install ?
BillyBob
BillyBobOP13mo ago
of course seems to be related to this https://github.com/blitz-js/superjson/issues/268 i get that error when removing type: module from package.json
<DxD/>
<DxD/>13mo ago
Ok, now I am not on my pc I will try this code when I am at my pc And try to find a solution
BillyBob
BillyBobOP13mo ago
thanks
<DxD/>
<DxD/>13mo ago
Is nice the project cuz I see there a way of doing auth with token And I’ve need trying for days to implement it
BillyBob
BillyBobOP13mo ago
i got it working thanks for your help