This project is developed using Java 8 and Spring Boot,. The City Connect application includes a Rest API to determine if two cities are connected.
Rest end point - http://localhost:8080/connected?origin=city1&destination=city2
Swagger end point - http://localhost:8080/swagger-ui.html
The following features are included in the application:
- Load city list from text file city.txt placed under resources folder
- Expose a single Rest end point
- Exception handling
- Logging to file city-connect.log under logs folder
- Junit tests
- Swagger integration