~/talk

GraphQL-first Django

Talkat DjangoCon Europe 2020 · 2020-09-18..09-19· [api-design, django]
slides:none on file

GraphQL-first Django shows a production headless e‑commerce backend (Sailor) built with Graphene and Django exposing a single GraphQL endpoint used by two React+TypeScript SPAs, with over 350 operations in the API. It explains code‑first types and class‑based mutations, JWT auth via graphql_jwt, performance fixes using data loaders to avoid N+1 queries, a 26‑query debug example, pytest-based tests, and notes subscriptions aren’t supported out‑of‑the‑box (Channels or Ariadne needed); custom error handling was implemented and used successfully.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:09What is Sailor e-commerce
  3. 2:34What is GraphQL
  4. 7:31GraphQL-first Django architecture
  5. 8:16Graphene framework overview
  6. 12:13Defining GraphQL types
  7. 14:39Implementing queries
  8. 15:43Creating mutations
  9. 18:11Form-based mutations
  10. 19:58Authentication with JWT
  11. 22:29N+1 problem and data loaders
  12. 26:45Testing GraphQL APIs
  13. 27:50Real-time subscriptions
  14. 29:12Why Django for GraphQL
  15. 30:38Cons of Graphene and GraphQL
  16. 32:23Alternative libraries like Ariadne
  17. 35:45Debugging and error handling
  18. 38:13Q&A on Sailor and GraphQL
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.