A Web API demo version to demonstrate a functionality of a Web service.
- OpenJDK 8+
- Spring Boot
- Gradle
On Windows:
.\gradlew build
On UNIX:
./gradlew build
-
cd to the directory of the JAR file and start the Draft Ticket Price Service.
On Windows:
cd ${PROJECT_ROOT}\build\libs java -jar .\dummy-tax-service-x.y.z[-SNAPSHOT].jar
On UNIX:
cd ${PROJECT_ROOT}/build/libs java -jar dummy-tax-service-x.y.z[-SNAPSHOT].jar
-
To test a functionality, open a browser and type
http://localhost:9091/baseprice/Vilnius
for getting a base price for a bus ticket to Vilnius or typehttp://localhost:9091/taxes
for getting a list of applicable tax rates.A server port of this application has been defined in application.properties.