I’ve had similar backend projects where I setup a reverse-proxy to a backend, along with the frontend dev server, to allow the full site and api to run in the browser from local host.
It’s not the most graceful setup, but it works if your backend build isn’t as flexible as you need.
It’s not the most graceful setup, but it works if your backend build isn’t as flexible as you need.