Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Modeling GraphQL APIs
Renato Benkendorf
October 20, 2018
Technology
0
120
Modeling GraphQL APIs
Renato Benkendorf
October 20, 2018
Tweet
Share
More Decks by Renato Benkendorf
See All by Renato Benkendorf
Modeling GraphQL
renatobenks
0
34
Other Decks in Technology
See All in Technology
データ分析基盤のはじめかた
chanyou0311
0
130
セキュリティ 開運研修2022 / security 2022
cybozuinsideout
PRO
3
3.9k
oakのミドルウェアを書くときの技のらしきもの
toranoana
0
140
PUTとPOSTどっち使う?
hankehly
0
280
サーバレスECにおける Step Functions の使い方 〜ステートマシン全部見せます!〜
miu_crescent
0
200
Persistence in Serverless Applications - ServerlessDays NYC
marcduiker
0
270
スタートアップと技術選定と AWS
track3jyo
PRO
2
350
Empath Company Deck
empathpr
0
150
220628 「Google AppSheet」タスク管理アプリをライブ作成 吉積情報伊藤さん
comucal
PRO
0
250
Modern Android dependency injection
hugovisser
1
140
【Pythonデータ分析勉強会#33】「DearPyGuiに入門しました」の続き~Image-Processing-Node-Editor~
kazuhitotakahashi
0
180
EKSの運用あれこれ バージョンアップ編
tetsunosato
0
100
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
73
4.1k
The Cult of Friendly URLs
andyhume
68
4.8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
15
950
Design by the Numbers
sachag
271
17k
Code Review Best Practice
trishagee
43
9.3k
Pencils Down: Stop Designing & Start Developing
hursman
112
9.8k
Faster Mobile Websites
deanohume
294
28k
Clear Off the Table
cherdarchuk
79
280k
The Art of Programming - Codeland 2020
erikaheidi
32
11k
Fashionably flexible responsive web design (full day workshop)
malarkey
396
62k
For a Future-Friendly Web
brad_frost
166
7.4k
What the flash - Photography Introduction
edds
62
10k
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!