I’m working on a code repository where I can combine both Next.js server APIs and Node.js to take advantage of their strengths.

Specifically, I want to route all requests to “/api” to Node.js, while handling other requests with the Next.js application. Has anyone tried this approach before? If so, was it worth it, and how did you make it work?