Next.js Discord

Discord Forum

I have several APIs, how do I create the routing for this app?

Unanswered
Villano de Las Encartaciones posted this in #help-forum
Open in Discord
Villano de Las EncartacionesOP
I built this using T3.app, I haven't learned how to use TRPC. Previously I was able to put all apis like this and worked functionally, but now I'm not sure how I make these routes functional:

DESKTOP\DEAN\SRC
├───app
│   ├───api
│   │   ├───auth
│   │   │   └───models
│   │   ├───data
│   │   ├───Hooks
│   │   └───listings
│   ├───authentication
│   ├───create
│   │   └───form
│   ├───explore
│   ├───messages
│   ├───profile
│   └───test
├───components
│   ├───buttons
│   └───Types
├───constant
├───lib
│   └───__tests__
├───marketplaceVariables
├───styles
└───__mocks__


I bet I am receiving the constant ERR404 pages when I try and submit a create/form for my marketplace is due to the lack of routes I have setup in this.

0 Replies