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
0
170
Refactoring Your Mind From REST
Lachlan
June 20, 2019
Tweet
Share
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
370
Side Projects
builtbyproxy
0
300
Source Control , What is it and why does it matter?
builtbyproxy
0
150
Other Decks in Programming
See All in Programming
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
SourceGeneratorのススメ
htkym
0
190
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
AI巻き込み型コードレビューのススメ
nealle
1
150
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
260
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
160
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
Architectural Extensions
denyspoltorak
0
280
CSC307 Lecture 07
javiergs
PRO
0
550
Fragmented Architectures
denyspoltorak
0
150
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
1
1.6k
Chasing Engaging Ingredients in Design
codingconduct
0
110
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
200
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
Are puppies a ranking factor?
jonoalderson
1
2.7k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
53
Six Lessons from altMBA
skipperchong
29
4.1k
How to make the Groovebox
asonas
2
1.9k
How to train your dragon (web standard)
notwaldorf
97
6.5k
HDC tutorial
michielstock
1
370
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
430
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