Next.js Discord

Discord Forum

Integrate backend into frontend with Next.com

Unanswered
Himalayan posted this in #help-forum
Open in Discord
HimalayanOP
Hey guys, I already have a Fastify backend ready with the routes set up, everything's fine. Now I want to call these routes on the Next frontend, but I don't want to just create a use-hook.ts file and call fetch() and be done with it. I'd like project examples, like in the pictures. Something well-structured.

1 Reply