$30 off During Our Annual Pro Sale. View Details »
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
150
Modeling GraphQL APIs
Renato Benkendorf
October 20, 2018
Tweet
Share
More Decks by Renato Benkendorf
See All by Renato Benkendorf
Modeling GraphQL
renatobenks
0
52
Other Decks in Technology
See All in Technology
Haskell を武器にして挑む競技プログラミング ─ 操作的思考から意味モデル思考へ
naoya
7
1.6k
生成AI活用の型ハンズオン〜顧客課題起点で設計する7つのステップ
yushin_n
0
250
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
5
560
ChatGPTで論⽂は読めるのか
spatial_ai_network
11
29k
子育てで想像してなかった「見えないダメージ」 / Unforeseen "hidden burdens" of raising children.
pauli
2
300
AI駆動開発の実践とその未来
eltociear
1
300
MySQLとPostgreSQLのコレーション / Collation of MySQL and PostgreSQL
tmtms
1
1k
AI との良い付き合い方を僕らは誰も知らない
asei
0
110
エンジニアリングをやめたくないので問い続ける
estie
2
1.2k
AWS CLIの新しい認証情報設定方法aws loginコマンドの実態
wkm2
7
760
SREには開発組織全体で向き合う
koh_naga
0
380
シニアソフトウェアエンジニアになるためには
kworkdev
PRO
3
190
Featured
See All Featured
Balancing Empowerment & Direction
lara
5
810
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
670
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
63
35k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
HDC tutorial
michielstock
0
260
Joys of Absence: A Defence of Solitary Play
codingconduct
1
250
Mobile First: as difficult as doing things right
swwweet
225
10k
Chasing Engaging Ingredients in Design
codingconduct
0
74
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
BBQ
matthewcrist
89
9.9k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
29
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!