Sample web application written in Java and uses AngularJS.
mvn -DskipTests packageThis produces target/DeepSpace.war.
Use Tomcat 9.x (Tomcat 10+ switched to jakarta.* APIs and won’t run this javax.* app without migration).
This app expects to run at the root context path (it references assets like /images/...), so deploy it as ROOT.
export CATALINA_HOME=/path/to/apache-tomcat-9.x
# stop Tomcat if already running
"$CATALINA_HOME/bin/shutdown.sh" || true
# deploy as ROOT (remove the default ROOT app first if present)
rm -rf "$CATALINA_HOME/webapps/ROOT" "$CATALINA_HOME/webapps/ROOT.war"
cp target/DeepSpace.war "$CATALINA_HOME/webapps/ROOT.war"
# start Tomcat in the foreground (preferred for local dev)
"$CATALINA_HOME/bin/catalina.sh" runOpen:
http://localhost:8080/- API check:
http://localhost:8080/api/images
Logs:
$CATALINA_HOME/logs/catalina.out
If you just want to run the app without installing Tomcat:
mvn jetty:runThen open http://localhost:3030/.

