how does NextJs know what code to run on the backend vs frontend?
I thought only things in the API folder in Pages are ran on the backend, but there's a server folder in create-t3-app for the backend stuff
Would someone explain to me?
4 Replies
For this I'd reckon you get familiar with Next JS first, rather than hopping into CT3
Create t3 app uses trpc.
And there is a trpc folder in the api folder that loads your trpc routes - simply put.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
oh i see
well put