BillyBob
BillyBob9mo ago

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

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