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
Refactoring Your Mind From REST
Search
Lachlan
June 20, 2019
Programming
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Refactoring Your Mind From REST
Lachlan
June 20, 2019
More Decks by Lachlan
See All by Lachlan
How to convince your boss to use GraphQL
builtbyproxy
0
250
How to capture the other 90%
builtbyproxy
0
380
Side Projects
builtbyproxy
0
310
Source Control , What is it and why does it matter?
builtbyproxy
0
160
Other Decks in Programming
See All in Programming
Apache Hive: そしてCloud Native Lakehouseへ
okumin
1
170
コーディングルールの鮮度を保ちたい for SRE NEXT 2026 / keep-fresh-go-internal-conventions-sre-next-2026
handlename
0
150
琵琶湖の水は止められてもNet--HTTPのリトライは止められない / You might be able to stop the water flow of Lake Biwa but you can't stop Net::HTTP retries
luccafort
PRO
0
460
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
1
620
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
16k
なぜ関数型プログラミングで「型」と「証明」が語られるのか #fp_matsuri
kajitack
3
1k
分散システム、なんですぐ死んでしまうん?耐障害性を高めたいあなたのためのレジリエンスパターン入門
mshibuya
7
7k
関数型プログラミングのメリットって何だろう?
wanko_it
0
200
地域 SRE コミュニティ最前線 - ホンマでっかSRE勉強会
tk3fftk
0
280
霧の中の代数的エフェクト
funnyycat
1
430
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
1
230
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
390
Featured
See All Featured
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
220
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
500
Agile that works and the tools we love
rasmusluckow
331
22k
Color Theory Basics | Prateek | Gurzu
gurzu
0
400
ラッコキーワード サービス紹介資料
rakko
1
4.1M
The Invisible Side of Design
smashingmag
301
52k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.7k
How STYLIGHT went responsive
nonsquared
100
6.2k
From π to Pie charts
rasagy
0
240
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Producing Creativity
orderedlist
PRO
348
40k
Technical Leadership for Architectural Decision Making
baasie
3
450
Transcript
A shameless canva ripoff theme LACHLAN YOUNG Refactoring your mind
from REST @BuiltByProxy
Who Am I? Lachlan Young - React and React Native
Full Stack Developer - Working Full Time in Australia at Max Kelsen @BuiltByProxy
The Project Stack React Native AWS AppSync Apollo GraphQL AWS
Lambda @BuiltByProxy
The Project Stack React Native AWS AppSync Apollo GraphQL AWS
Lambda @BuiltByProxy
Todays Talk @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy TO ME; It's a simple
API written with JSON It Upgrades REST's old Methods
UPGRADES THE REST METHODS: GET DELETE PATCH PUT POST QUERY
SUBSCRIPTION MUTATION
BUT HOW DO WE IMPLEMENT IT? CLIENT | SERVER |
DATABASE WHERE?
TODAYS TOOLS
GRAPHIQL IDE
SERVERLESS FILE
Business Logic calls. This can be your new route SERVERLESS
FUNCTION It's starting to look a lot like REST Replace your logs with external
YOU NOW HAVE ONE POINT OF TRUTH
Get User We don't have to get all the data
We only get what we want Removes the need for filtering logic or multiple different endpoints
The Schema ! mark determines if it is required or
not Scalar types List definitions
BUILTBYPROXY/APPSYNC-SERVERLESS-BOILERPLATE @BuiltByProxy