BillyBob
BillyBob7mo ago

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

Looking for an up to date boilerplate for tRPC & Fastify.
17 Replies
DxD
DxD7mo 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
DxD7mo ago
hope it helps
BillyBob
BillyBob7mo ago
thanks! I am having a nightmate with TS at the moment and imports. Are you competent in that area
DxD
DxD7mo ago
well...what's the problem ?
BillyBob
BillyBob7mo 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
DxD7mo ago
ok nope i don't use Fastify
BillyBob
BillyBob7mo ago
express? or nest
DxD
DxD7mo ago
express
BillyBob
BillyBob7mo 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
DxD7mo ago
I need more details Or some cod
BillyBob
BillyBob7mo 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
DxD7mo ago
Have u try a npm install ?
BillyBob
BillyBob7mo 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
DxD7mo 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
BillyBob7mo ago
thanks
DxD
DxD7mo 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
BillyBob7mo ago
i got it working thanks for your help