docker-compose up -d --build
Now you have app running at http://localhost:9292 and ready to process your requests.
-
To get ETA:
GET /eta
Example:
curl -X GET "http://localhost:9292/eta?lat=53.2159&lng=50.132277"
You can find interactive API documentation at http://localhost:9292/documentation:
docker-compose run --rm test bundle exec rspec
Also you can check this workflow runs to ensure all tests are passed.