~/talk

Goodbye REST APIs. Hello GraphQL!

Talkat NDC Minnesota 2019 · 2019-05-06..05-09· [graphql]
slides:none on file

GraphQL lets the client declare exactly the JSON it wants, including nested relationships and specific fields returned from mutations, so one POST to a single endpoint replaces many chattier REST calls. Demos use Node with json-graphql-server and express-graphql, GraphiQL for GraphiQL docs auto-generated autocomplete, JSON Server to mock REST backends, and a React + Axios client calling GitHub’s GraphQL API. Setup takes ~30–45 seconds and about 20 lines of server code to prove it works.

AI-written summary · about

  1. 0:00Intro
  2. 2:07Getting Started
  3. 3:27GraphQL Docs
  4. 10:33Mutations
  5. 18:06How it works
  6. 19:35How it works again
  7. 20:44GraphQL Schema
  8. 23:55Wrap REST API
  9. 27:29GraphQL Demo
  10. 31:36React Demo
  11. 37:47GraphQL Development
  12. 42:05GraphQL Mutation vs Query
  13. 42:51Hashira GraphQL Engine
  14. 44:46What about caching
  15. 45:59What about failed fetches
  16. 47:16What about authorization
  17. 49:00Pain
  18. 51:52GraphQL
  19. 52:39Side Note
  20. 53:04GraphQL vs REST
  21. 55:28GraphQL popularity
  22. 56:39GraphQL is the new REST
  23. 57:21Rest vs GraphQL
  24. 58:28What is REST
~/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.