Application exposes one endpoint which calculates land route from one country to another using Breadth-First Search algorithm and countries repository as data source.
Command line:
docker compose up
- Run application
- Go to http://localhost:8080/routing/POL/FRA
- Poland's neighbour Kaliningrad is treated as if whole Russia was a neighbour, meaning it's possible to get to China just through Russia
- Strait of Gibraltar is treated as a possible land route to Africa