~/talk

Writing queryable APIs with MicroProfile GraphQL

Talkat Conf42 Enterprise Software 2021 · 2021-03-25..05-05· [api-design, graphql]
slides:none on file

Starts from a JAX-RS + Jackson REST app backed by JPA (people) and a flat-file score store, demonstrates painful over‑ and under‑fetching, then rewires it to MicroProfile GraphQL on Quarkus to return exactly requested fields. Shows batching reduces N calls by turning per-item lookups into list calls, uses completionStage async to run independent fields concurrently, maps custom scalars and formats, supports mutations, introspection and partial errors, secures endpoints with JWT via Keycloak, and notes a working demo with minor dev-reload and DB hiccups.

AI-written summary · about

  1. 0:00Queryable APIs with GraphQL
  2. 4:33REST API problems
  3. 5:17GraphQL history and concepts
  4. 6:20Convert REST to GraphQL
  5. 8:48Solve over fetching
  6. 9:11Solve under fetching
  7. 10:21GraphQL batching
  8. 12:54Combine GraphQL endpoints
  9. 16:56Async execution
  10. 22:56GraphQL benefits recap
  11. 23:57Errors and partial responses
  12. 26:43Data mapping
  13. 31:01Mutations
  14. 34:35Schema introspection
  15. 35:17Secure GraphQL with JWT
  16. 37:27Request inspection with context
  17. 39:57Custom execution
  18. 41:23MicroProfile GraphQL integrations
  19. 42:25MicroProfile GraphQL future
~/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.