- 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.