Skip to content

icehockeystar/share-now-task

Repository files navigation

#Carspolygons

Implementation remarks

  • I chose as data base MongoDB because it has support of GeoJson operations out of the box.
  • Challenge API returns always new VINs, I never saw a repeated VIN for which I should have updated cars coordinates.
  • I partially applied principles of Domain Driven Design e.g. entities and values.

Run application locally

  1. Start challenge API and MongoDB locally : docker-compose up
  2. to start the carspolygons application run ./gradlew bootRun or start CarsPolygonsApplicationKt class from your favorite IDE.
  3. open in browser http://localhost:8080/swagger-ui.html

Build docker image

In order to build a docker image run:

  1. ./gradlew build
  2. docker build -t app/carspolygons:v0.1.0 .

Run docker image

In order to run the application in docker execute: docker run app/carspolygons:v0.1.0 -p 8080:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published