- A simple application that has only one endpoint and returns a path variable from the url
- A test using RestTestTemplate and Sprint Boot
- A test using Cucumber with Spring Boot
Firstly need to build the jar locally. Whilst in the root directory of the project run the following (this also run's unit and cucumber tests):
./gradlew clean build
Now run the following command from the root directory:
java -jar build/lib/*jar
In a terminal, run the following command:
curl http://localhost:8080/hi/mo
This should return:
hi mo