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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Renato Benkendorf
October 20, 2018
Technology
0
160
Modeling GraphQL APIs
Renato Benkendorf
October 20, 2018
Tweet
Share
More Decks by Renato Benkendorf
See All by Renato Benkendorf
Modeling GraphQL
renatobenks
0
53
Other Decks in Technology
See All in Technology
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
300
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.4k
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
210
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
190
プロポーザルに込める段取り八分
shoheimitani
1
280
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
570
配列に見る bash と zsh の違い
kazzpapa3
1
150
20260204_Midosuji_Tech
takuyay0ne
1
160
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
110
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
590
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
120
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
Build your cross-platform service in a week with App Engine
jlugia
234
18k
The Curious Case for Waylosing
cassininazir
0
240
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Side Projects
sachag
455
43k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Mind Mapping
helmedeiros
PRO
0
87
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
330
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!