title: How to move a react.js app on spark-java?
body: <p>I have a web app with a backend using SparkJava backend, and a React app served using node deployed separately. I am hoping to find a way to run the react app on top of sparkjava (bounded together in a uber jar) instead of serving from node.js. I tried to move the react app (the build folder generated by <code>npm run build</code>) inside <code>src/main/resources/public</code> and point to that folder with <code>staticFiles.location("/public");</code> in SparkJava, but that did not work. Is there a way to accomplish this without rewriting the front-end?</p>