Standalone Demo Server
You can deploy a Mockaton instance with your built SPA.
For that, put the built assets in config.staticDir.
The repo includes a demo which builds the frontend app and runs a docker container with Mockaton as backend.
git clone https://github.com/ericfortis/mockaton.git --depth 1
cd mockaton/demo-app-vite
make run-standalone-demo
Dashboard: http://localhost:4040/mockaton