Mikey
Mikey9mo ago

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
0 Replies
No replies yetBe the first to reply to this messageJoin