A sample API server using Rails.
This API application calculates the distance between points, assuming there's an external provider of names and coordinates. It uses an Apiary Mock Server to simulate the external provider.
To run, simply do:
bundle exec rails s
To run the tests, it is just:
bundle exec rspec