Skip to content

wq1973/Java-SpringBoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VehiclesAPI-Project

Project repository for JavaND Project 2, where I implemented a Vehicles API using Java and Spring Boot that can communicate with separate location and pricing services.

Services

Dependencies

The project requires the use of Maven and Spring Boot, along with Java v11.

Run the applications

Note that the Boogle Maps, 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

mvn clean package (run this in each directory containing the separate applications)

  • Boogle Maps:
$ java -jar target/boogle-maps-0.0.1-SNAPSHOT.jar

The service is available by default on port 9191. You can check it on the command line by using $ curl http://localhost:9191/maps\?lat\=20.0\&lon\=30.0

  • Pricing Service:
$ java -jar target/pricing-service-0.0.1-SNAPSHOT.jar
  • Vehicles API:
$ java -jar target/vehicles-api-0.0.1-SNAPSHOT.jar

Swagger API documentation is implemented, it should be available at: http://localhost:8080/swagger-ui.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages