nyc-restaurant-grades

GraphQL & REST API for NYC restaurant health inspections

  • Owner: bswinnerton/nyc-restaurant-grades
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

NYC Restaurant Grades via GraphQL

This application allows you to query the NYC Restaurant Inspection
Results

data (letter ratings for restaurants) via a GraphQL interface.

For example, to query all of the Wendy's in Brooklyn and get a list of their
health violations, visit http://nyc-restaurant-grades.com/graphql and enter the
following on the left hand side of GraphiQL:

query {
  restaurants(name: "Wendy's", borough: BROOKLYN) {
    name
    address
    cuisine
    inspections {
      grade
      violations {
        description
      }
    }
  }
}

Development

This application can be bootstrapped by doing the following:

bundle install
bundle exec rake db:create db:migrate db:seed

The db:seed will start the bulk import from the NYC open data website and is
idempotent.

The data backing this application is not regularly updated

Main metrics

Overview
Name With Ownerbswinnerton/nyc-restaurant-grades
Primary LanguageRuby
Program languageRuby (Language Count: 5)
Platform
License:
所有者活动
Created At2016-06-05 21:01:27
Pushed At2018-09-02 14:19:12
Last Commit At2018-09-02 10:19:06
Release Count0
用户参与
Stargazers Count29
Watchers Count3
Fork Count2
Commits Count139
Has Issues Enabled
Issues Count7
Issue Open Count3
Pull Requests Count10
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private