Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Modeling GraphQL APIs
Search
Renato Benkendorf
October 20, 2018
Technology
0
130
Modeling GraphQL APIs
Renato Benkendorf
October 20, 2018
Tweet
Share
More Decks by Renato Benkendorf
See All by Renato Benkendorf
Modeling GraphQL
renatobenks
0
43
Other Decks in Technology
See All in Technology
チームでロジカルシンキングに改めて向き合っている話 〜学習環境と実践⽅法〜
sansantech
PRO
3
2.4k
ServiceNow Knowledge Learning Rise up
manarobot
0
210
Janus
bkuhlmann
1
490
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.3k
Google Cloud の AI を支える裏側のインフラを垣間見る!
maroon1st
0
350
生産性向上チームの紹介
cybozuinsideout
PRO
1
870
アクセス制御にまつわる改善 / Improving access control
itkq
0
530
KubeConにproposalを送りたい人へのアドバイス
sat
PRO
3
250
FrontDoorとWebAppsを組み合わせた際のリダイレクト処理の注意点
kenichirokimura
1
520
JAWS-UG Bedrock Claude Night
yamahiro
3
600
GraphQL 成熟度モデルの紹介と、プロダクトに当てはめた事例 / GraphQL maturity model
mh4gf
7
1.3k
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
4
14k
Featured
See All Featured
Creatively Recalculating Your Daily Design Routine
revolveconf
210
11k
Agile that works and the tools we love
rasmusluckow
325
20k
Rails Girls Zürich Keynote
gr2m
91
13k
Ruby is Unlike a Banana
tanoku
96
10k
Designing the Hi-DPI Web
ddemaree
276
33k
BBQ
matthewcrist
80
8.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
40
4.4k
Being A Developer After 40
akosma
57
580k
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
A better future with KSS
kneath
231
16k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
274
13k
Transcript
1 Modeling GraphQL APIs Renato Benkendorf
2 @renatobenks
3
4
5 Software Engineer @renatobenks
6 Software Engineer @renatobenks creditas.com.br @CreditasBR Fintech Plataforma online Empréstimo
com garantia
7
8 Modeling GraphQL API's Renato Benkendorf
9 Where it came from?
10
11 Scaling GraphQL
12 Scaling GraphQL 1. to multiple clients 2. cross-team
13 Scaling GraphQL Aggregation layer (ESB, BFF, API Gateway, Orchestrator)
14 Scaling GraphQL integrate business domains to the clients
15 Scaling GraphQL
16 Demystifying GraphQL
17 Demystifying GraphQL QL (Query-Language) Graph
18 Demystifying GraphQL Graph • The objects are vertices or
nodes. • The links are edges.
19 Demystifying GraphQL Query language (QL) refers to any computer
programming language that requests and retrieves data by sending queries
20 Demystifying GraphQL GraphQL • The nodes are the object
types. • The edges are the fields.
21 and what about modelling?
22
23 Modeling a GraphQL API
24 Modeling a GraphQL API data modelling
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)
26 Modeling a GraphQL API data modelling Using “endpoint style”
rather than thinking in graphs
27 Modeling a GraphQL API data modelling Using “endpoint style”
rather than thinking in graphs
28 Modeling a GraphQL API data modelling Mapping their GraphQL
schema directly to their database tables
29 Modeling a GraphQL API data modelling Mapping their GraphQL
schema directly to their database tables
30 Modeling a GraphQL API data modelling thinking in graphs
31 Modeling a GraphQL API data modelling thinking in graphs
32 data modelling Mapping their GraphQL schema directly to their
back-end data model Modeling a GraphQL API
33 data modelling Mapping their GraphQL schema directly to their
back-end data model Modeling a GraphQL API
34 Modeling a GraphQL API data modelling Mapping their GraphQL
schema directly to their back-end data model
35 Modeling a GraphQL API data modelling Mapping their GraphQL
schema directly to their back-end data model
36 "With GraphQL, you model your business domain as a
graph" Modeling a GraphQL API
37 Use case
38
39 Use case current scenario • domain business currently is
servicing • domain data in redux • mapping the boundaries
40 Use case next challenges • app cross-squad • app
composition • manage a lot of data from different domains
41 Temos vagas vagas.creditas.com.br
42 Thanks!