+
Skip to content

dhonig/cityconnections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CityConnections

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

Prequisites

  • JDK 1.8.0 or above (Developed on openjdk version "1.8.0_222")
  • Gradle

Running the app

Execute the command:

gradle bootRun

The app should start on http://localhost:8080

Running the tests

Execute the command:

gradle test

Accessing Swagger Documentation

Possible Improvements

  • Proper logging
  • Pluggable Search Algorithm ( via spring dependency injection and JGraphT)
  • Endpoint to visualize graph

About

Exercise Spring Boot + Graphs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载