~/talk

GraphQL on Rails - Creating Living APIs for a Data-hungry World

Talkat RubyHACK 2018 · 2018-05-03..05-04· [ruby-on-rails, graphql]
slides:none on file

Demo Rails app named fitter me shows GraphQL served via a bundled gem that adds a GraphiQL route and POST /graphql endpoint, schema files and types that return exactly the fields requested, and live documentation with deprecation reasons. Implementation uses includes and a Shopify-style batcher to avoid N+1 queries and a Draper decorator for custom fields, adopts a schema-first contract so front end and backend develop in parallel, and requires no graph database.

AI-written summary · about

  1. 0:00Start
  2. 3:04REST Distilled - Uniform Interface
  3. 3:46REST Distilled - Client-Server Separation
  4. 4:42REST is Rigid
  5. 7:51REST is Wasteful: Underfetching
  6. 15:07GraphQL is Flexible
  7. 17:05GraphQL is Easy to Document
  8. 33:37GraphQL - Incremental Adoption
  9. 34:05GraphQL First Workflow
~/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.