zipmark/zipmark-code-challenge — pull request #3 by jbmilgrom (2014-08-11 22:16:44+00:00)
Title: Code Submission

Hi-

I built this in Sinatra since there's no persistence layer or complex controller/views action required. To get this application working on your computer, pull down my code and run a Sinatra server locally, which entails entering "ruby main.rb" in the command line while in the root folder of my app. In addition to sinatra, my code relies on "httparty" as well as "sinatra-reloader". Gem installing all three should get you ready to start the Sinatra server. The default Sinatra server runs on "localhost:4567".

A get request to "[localhost]:/banks" will produce the json of all banks.

A get request to "[localhost]:/banks/:id" will return just the json of the bank identified.

I'm extremely excited about the opportunity to learn more about Zipmark. Please let me know if you have any questions about any of my decisions relating to my code or any questions at all. I'm looking forward to speaking with you.

Best,
Jonathan