Theo's Typesafe CultTTC
Theo's Typesafe Cult4y ago
9 replies
rocawear

tRPC and existing api

Hello, I have external API that I use on my project. I need to hide my api key so I need to create api routes as wrapper (to run serverside). Could I just use trpc for it instead of the normal api route way on nextjs? So on trpc get external api and return result and client fetches from trpc
Was this page helpful?