lenni
[V11] BFF Monorepo setup
Hello! I have a monorepo with several apps, every app has its tRPC endpoint setup like this.
The api is consumed using a caller using a createCaller function exported by the
@acme/api
package (inside this package I have a trpc router with everything)
I want to remove the package and deploy a separated BFF, so every app in the repo can do api requests to the BFF.
I cannot find a way to tell my server caller to do fetchRequest to a custom endpoint, I guess i am missing something.
I hope everything is clear, thank you!2 replies