/microservice-playground

Is a Spring Boot microservice app to getting real Ispark (Istanbul Metropolitan Municipality official parking service) locations and park a vehicle to there.

Primary LanguageJava

Microservice Playground

Is a Spring Boot microservice app to getting real Ispark (Istanbul Metropolitan Municipality official parking service) locations and park a vehicle to there.

Prerequisites

  • Docker
  • Java 11

Make sure export jar via maven, before run docker-compose file.

mvn clean install -DskipTests

Run

docker compose up docs/deployment-docker-compose.yml -d

Use

  • To get all park locations
curl --location --request GET 'localhost:8088/ispark/'
  • To get specific park location
curl --location --request GET 'localhost:8088/ispark/{PARK_LOCATION_ID}'
  • To park a vehicle to a parking space
curl --location --request POST 'localhost:8088/parking?plate={PLATE}&placeId={PARK_LOCATION_ID}'

Structure

Structure

View

  • Docker Desktop Docker Desktop

  • Eureka

localhost:1380/eureka

Eureka

  • Zipkin
localhost:9411/

Zipkin

  • Admin Server
localhost:1379/

Admin Server Wallboard Admin Server Applications

Authors

  • Anıl Öztürk - Software Developer - GitHub

Thanks

Microservice App Tutorial by temelt