nyc-restaurant-grades

GraphQL & REST API for NYC restaurant health inspections

  • 所有者: bswinnerton/nyc-restaurant-grades
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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

主要指标

概览
名称与所有者bswinnerton/nyc-restaurant-grades
主编程语言Ruby
编程语言Ruby (语言数: 5)
平台
许可证
所有者活动
创建于2016-06-05 21:01:27
推送于2018-09-02 14:19:12
最后一次提交2018-09-02 10:19:06
发布数0
用户参与
星数29
关注者数3
派生数2
提交数139
已启用问题?
问题数7
打开的问题数3
拉请求数10
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?