tRPCttRPC
Powered by
MikeyM
tRPC•3y ago•
1 reply
Mikey

TRPC Nextjs App Router API Base URL

Is there any issues with me placing trpc route handler in the root of my api folder? I don't really like having the /trpc in front of my api calls. I want it abstracted. Also, is it possible to use slashes for the url instead of camel case? I want for example do: /api/contact/create
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

TRPC with Nextjs 13 App Router
SpoekySSpoeky / ❓-help
3y ago
PersistQueryClientProvider in tRPC NextJS pages router app
Answer OverflowAAnswer Overflow / ❓-help
3y ago
tRPC with app router
SzymonSSzymon / ❓-help
3y ago
Example Repo for NextJS App Router + React Query + tRPC
BørgeBBørge / ❓-help
10mo ago