start server cd data-rest mvn spring-boot:run http://localhost:8080/api build mvn package test mvn test run with jar java -jar target/spring-boot-sample-data-rest-0.1.0.jar run with jar background java -jar target/spring-boot-sample-data-rest-0.1.0.jar > /dev/null 2>&1 & echo $! > run.pid