Requirements
- java 21 (jdk for build)
- maven
How to build
- Make sure you have JDK installed and $JAVA_HOME environment is set;
- Maven installed and mvn is available from $PATH;
- Run
mvn packagefrom project directory.
How to run
Run command java -jar hw-0.0.1-SNAPSHOT.jar from target directory
How to check that app runs correctly
curl http://localhost:8080 -v
If you see json in response body with app version then it works.