Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Modeling GraphQL APIs

Modeling GraphQL APIs

Renato Benkendorf

October 20, 2018
Tweet

More Decks by Renato Benkendorf

Other Decks in Technology

Transcript

  1. 3

  2. 4

  3. 7

  4. 10

  5. 19 Demystifying GraphQL Query language (QL) refers to any computer

    programming language that requests and retrieves data by sending queries
  6. 22

  7. 25 Modeling a GraphQL API data modelling 1. Using “endpoint

    style” rather than thinking in graphs 2. Mapping their GraphQL schema directly to their database tables (foreign keys and all) 3. Mapping their GraphQL schema directly to their back-end data model (eg. your model classes from your ORM or the like)
  8. 28 Modeling a GraphQL API data modelling Mapping their GraphQL

    schema directly to their database tables
  9. 29 Modeling a GraphQL API data modelling Mapping their GraphQL

    schema directly to their database tables
  10. 32 data modelling Mapping their GraphQL schema directly to their

    back-end data model Modeling a GraphQL API
  11. 33 data modelling Mapping their GraphQL schema directly to their

    back-end data model Modeling a GraphQL API
  12. 34 Modeling a GraphQL API data modelling Mapping their GraphQL

    schema directly to their back-end data model
  13. 35 Modeling a GraphQL API data modelling Mapping their GraphQL

    schema directly to their back-end data model
  14. 38

  15. 39 Use case current scenario • domain business currently is

    servicing • domain data in redux • mapping the boundaries
  16. 40 Use case next challenges • app cross-squad • app

    composition • manage a lot of data from different domains