This Spring boot app features two endpoints:
- /healthcheck - application is up and ready
- /connected - used to check if two cities are connected
ex:
http://localhost:8080/connections?origin=Boston&destination=New%20York
- JDK 1.8.0 or above (Developed on openjdk version "1.8.0_222")
- Gradle
Execute the command:
gradle bootRun
The app should start on http://localhost:8080
Execute the command:
gradle test
- Browse to http://localhost:8080/swagger-ui.html
- Proper logging
- Pluggable Search Algorithm ( via spring dependency injection and JGraphT)
- Endpoint to visualize graph