t
tRPC
A
tRPC
•
12mo ago
•
2 replies
Ahmed Eid
Nextjs Proxy an exteral TRPC api via pages/api/trpc/[trpc].ts ?
I have an already built TRPC api and I would like to use it in my nextjs application
. I would like to proxy it from the
[trpc
]
.ts
.
I have tried
http-proxy-middleware
http-proxy-middleware
which works but it break sometime which is a bit difficult to debug
. wondering if there is an example or some doucmentation around this use case
?
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Shorten /app/api/trpc/[trpc]/route.ts
F
functiondj / ❓-help
5mo ago
TRPC on nextjs edge and cloudflare pages
A
Answer Overflow / ❓-help
11mo ago
PersistQueryClientProvider in tRPC NextJS pages router app
A
Answer Overflow / ❓-help
3y ago
createCaller from API NextJS (Pages Directory)
H
halfmoon / ❓-help
3y ago