This is the backend to the restaurant app.
- Categories
- Menu Items
- Show me all categories (
http://<host>/categories.json
) - Show me all menu items (
http://<host>/menu_items.json
) - Show me all menu items for a specific category together with info about that category (
http://<host>/menu_items.json?category=<category>
)
- http://davids-restaurant.herokuapp.com/categories.json
- http://davids-restaurant.herokuapp.com/menu_items.json
- http://davids-restaurant.herokuapp.com/menu_items.json?category=B
- Make sure you have Ruby on Rails 4.2.3+ installed. (Do you need a Ruby on Rails introduction? You can find one here.)
- Clone this repo from Github
bundle --without production
rake db:migrate
rake db:seed
rails server
You should now be able to access the following URLs locally: