You can run Nodejs such as react or angular on JavaPipe's Tomcat service. You will need to use npm run build to package the Nodejs for production. It creates a build folder where you can package it as a war file. cd into the build directory and then run jar cvf webui.war . Name the war file for the URL pathname and upload it to your tomcat webapps directory.
You can find lots of information by searching 'Reactjs on tomcat' or 'Angularjs on tomcat'.
ReactJS on Tomcat
Angular on Springboot