REST-based Vehicles API that can communicate with separate location and pricing services.
Check each component to see its details and instructions. Note that all four applications should be running at once for full operation. Further instructions are available in the classroom.
The project requires the use of:
- Maven (Download and Setup)
- Spring Boot
- Java v11 (Download JDK11)
Note that the Eureka Server, Maps Service, Pricing Service and Vehicles API applications must all be running for all operations to perform correctly, although they should be able to launch on their own.
You can either use these in separate windows in your favorite IDE, or use the below commands:
$ mvn clean package
(run this in each directory containing the separate applications)- Eureka Server:
$ java -jar target/eureka-server-0.0.1-SNAPSHOT.jar
- The service is available by default on port
8761
.
- The service is available by default on port
- Documentation Service:
$ java -jar target/documentation-service-0.0.1-SNAPSHOT.jar
- The service is available by default on port
7171
. - Swagger API documentation should be available at: http://localhost:7171/swagger-ui/
- The service is available by default on port
- Maps Service:
$ java -jar target/boogle-maps-0.0.1-SNAPSHOT.jar
- The service is available by default on port
9191
. - Swagger API documentation should be available at: http://localhost:9191/swagger-ui/
- The service is available by default on port
- Pricing Service:
$ java -jar target/pricing-service-0.0.1-SNAPSHOT.jar
- The service is available by default on port
8082
. - Swagger API documentation should be available at: http://localhost:8082/swagger-ui/
- The service is available by default on port
- Vehicles API:
$ java -jar target/vehicles-api-0.0.1-SNAPSHOT.jar
- The service is available by default on port
8080
. - Swagger API documentation should be available at: http://localhost:8080/swagger-ui/
- The service is available by default on port