~/talk

Optimizing for API Consumers with GraphQL

Talkat GORUCO 2017 · on Saturday, 2017-06-24· [ruby-on-rails, graphql]
slides:none on file

GitHub adopts GraphQL as a client-first API layer, implements it on Rails with the GraphQL Ruby gem, exposes a single /graphql endpoint and runs 100 million queries every day. Demos show a local NYC restaurant grades API, live GraphiQL autocomplete, and generated docs via GraphQL Docs. Tooling includes a GraphQL Client gem and schema-driven development; resolver functions call ActiveRecord or any backend, and the public launch at GitHub Universe proves it works in production.

AI-written summary · about

  1. 0:00Intro
  2. 0:25optimizing APIs for consumers...
  3. 3:54backends for frontends
  4. 4:55what about a public API?
  5. 5:17GraphQL is a specification
  6. 7:11features of the query language
  7. 10:58documentation and client generation, are free
  8. 14:54multiple resources in one round trip
  9. 15:23Implementing a GraphQL server
  10. 15:56like SQL, there are many implementations
  11. 19:20a facade in front of services
  12. 19:32you use your existing application code
  13. 20:43proof of concept done
  14. 21:42exchange a query for Ruby objects
  15. 22:00tooling
  16. 22:32schema driven development
  17. 23:35true platform
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.