View Code? Open in Web Editor
NEW
This project forked from ga-chicago/sinatra-hw
Ruby 65.94%
HTML 24.54%
JavaScript 9.53%
sinatra-hw's Introduction
Homework: Put a Server in your pipe and smoke it
- It is time to build the a server of your choice!
- Create a brand new, small Sinatra app.
- Inside of your
app.rb
, you need to create a few routes...
- Five routes mapped to the names of your object - ie
/soccer
and /football
- These five different routes should return a hash turned JSON
- Five routes mapped to the names of your object - ie
/soccer
and /football
- These five different routes should return an erb file rendering that object
- Test and verify these routes in the browser.
- Create a front-end, single page application to display the data from your JSON API using ajax and jQuery.
sinatra-hw's People
Contributors
Watchers