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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
450
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
380
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
270
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
230
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
300
Webhook best practices for rock solid and resilient deployments
glaforge
1
290
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
300
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
430
AI駆動開発を事業のコアに置く
tasukuonizawa
1
200
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
170
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Music & Morning Musume
bryan
47
7.1k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
86
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Speed Design
sergeychernyshev
33
1.5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Crafting Experiences
bethany
1
49
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
190
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
110
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!