Simple application in Java (Spring Boot) and React (Vite).
- JDK 25+
- Apache Maven 3.9.0+
- Node.js 24.12.0+ (optional)
-
From the command line with Maven (in the root directory):
mvn clean install -Dmaven.test.skip=true -
Change directory:
cd react-application-deployment-server -
From the command line with Maven:
mvn spring-boot:run -
Access the deployed web application at:
-
Install Node.js
-
Run to ensure that npm is working:
npm -v -
Change directory:
cd react-application-deployment-server -
From the command line with Maven:
mvn spring-boot:run -
Change directory:
cd react-application-deployment-web -
From the command line with npm:
npm start -
Access the deployed web application at:
-
From the command line with Maven (in the root directory):
mvn clean package -DskipTests -
Change directory:
cd react-application-deployment-distrib/target -
Find distribution file:
react-application-deployment-<version>.zip -
Extract files from ZIP, for example:
unzip react-application-deployment-<version>.zip -
Change directory:
cd react-application-deployment-<version> -
Run:
runme.bat(Windows)
runme.sh(macOS or Linux) -
Access the running web application at: