rasensio
8/8/2016 - 9:24 PM

challenge.MD

What you have to deliver in 48hs

  1. A working webservice URL in Heroku
  2. A github pull request with the code

Create the webservice

Create a webservice in Java and deploy it to Heroku (free account)

https://devcenter.heroku.com/articles/getting-started-with-java#introduction

So it responds to this command

curl http://yourherokuapp.com/some-app/some-service

and returns

{
  timestamp: 'xxx' <<= some ISO8601 timestamp representing current time in EST TZ
  calls: N  <== a number representing how many calls to this service. Should increase this number each call
}

Create pull request

Create a pull request and invite me or add me as collaborator or just show me the code in the github project in order to see it.

Happy coding!