Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Submission #3

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Code Submission #3

wants to merge 14 commits into from

Conversation

jbmilgrom
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant