- Ruby 2.0.0
- Rails 4.0.0
- Grape - a framework for API
- Github: https://github.com/codefortomorrow/food-api.git
- Heroku: [email protected]:foodopendata-api.git
db/migrate/*
schemes for each table
app/api/api.rb
the file that mounts API modules
app/api/*api.rb
the controllers for each API module
rails s
##Local database operation
rake db:drop
rake db:migrate
rake db:seed
##How to deploy to Heroku
git remote add heroku [email protected]:foodopendata-api.git
git push heroku master
heroku pg:reset DATABASE
heroku run rake db:migrate
heroku run rake db:seed