Remix.run app together with Express server under the /api route

I am running Remix app using this template Remix Boilerplate and everything is running fine.
In Vercel docs I saw that I can easily run Express server in the /api folder Using Express.js with Vercel

Is this even doable?
It does not work out of the box since the Express part needs to be built.
How to make these two work together if possible? Can someone help me write vercel.json file to support this?
If I write builds: in vercel.json it breaks the Remix build. I assume I have to write builds: steps for both but there is no example of Remix build preset.

thanks

If you’re having trouble deploying an Express app, this guide can help.

You can also ask v0 for suggestions tailored to your own project setup.