Coder Social home page Coder Social logo

java-springboot's Introduction

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

java-springboot's People

Watchers

Wenqing Li avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.