tRPC + external API
Hello. This might sound dumb but currently we need to expand the usability of our backend for a specific project. We will need to create a Typescript backend and I was thinking of using Next + tRPC.
Question is, I will also need to interact with said backend on some cases but through tRPC endpoints in my app. Does doing this makes sense?
And in that case, how can I make a tRPC procedure depend on a regular http call? Like for example formating some data and send it awaiting response from that POST call to our backend.
Question is, I will also need to interact with said backend on some cases but through tRPC endpoints in my app. Does doing this makes sense?
And in that case, how can I make a tRPC procedure depend on a regular http call? Like for example formating some data and send it awaiting response from that POST call to our backend.
