README

rails db:create db:migrate db:seed

rails s

API ENDPOINTS:

Restaurants:

  • INDEX /api/v1/restaurants GET
  • SHOW /api/v1/restaurants/:id GET
  • CREATE /api/v1/restaurants POST
  • UPDATE /api/v1/restaurants/:id PUT
  • DESTROY /api/v1/restaurants/:id DELETE

Reviews:

  • INDEX /api/v1/restaurants/:restaurant_id/reviews GET
  • CREATE /api/v1/restaurants/:restaurant_id/reviews POST
  • SHOW /api/v1/reviews/:id GET
  • UPDATE /api/v1/reviews/:id PUT
  • DESTROY /api/v1/reviews/:id DELETE