Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Getting Started with GraphQL
Search
Shodipo Ayomide
May 04, 2019
Programming
270
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Getting Started with GraphQL
Getting Started with GraphQL talk at Full Stack Developers Conference Lagos.
Shodipo Ayomide
May 04, 2019
More Decks by Shodipo Ayomide
See All by Shodipo Ayomide
SINFO Keynote - Technical Principles of Developer Experience (DX)
developerayo
0
60
MautiCon - The Ideal Community Model: Lessons Learned
developerayo
0
80
Global Accessibility: The Future is Open - unStack Keynote
developerayo
0
72
Fast and Furious with VueJS & WebPack
developerayo
0
120
Automate Workflow processes using GitHub Actions
developerayo
0
130
Building A React App With Web And Mobile In Mind
developerayo
1
110
Design From The Realm of Open-Source
developerayo
0
77
Design From The Dimension of Open-Source - Shodipo Ayomide - React Finland
developerayo
0
91
Optimizing for Super Sonic Speed in Vue.js & Gridsome
developerayo
0
340
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
320
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
390
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
180
App Intentsのビルドプロセスを支える技術
kntkymt
0
460
AWSに止められる覚悟してますか?
morizo_1984
2
460
Security issues being discussed on Web Platforms
petamoriken
0
1.3k
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
1
110
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
320
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
4.2k
Workers Cache を知る
syumai
0
300
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
140
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
550
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
2
820
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
250
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
330
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
600
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.8k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Transcript
Shodipo Ayomide (@developerayo) | Full Stack Developers Conference)
Hello! 2
What is GraphQL 3
4 GraphQL is a syntax that describes how to ask
for data, and is generally used to load data from a server to a client. In other words
5 GraphQL is a query language for your API
6
7 JavaScript Typescript Ruby PHP Python Java C/C++ Perl .NET
Erlang Elixar Haskel Rust Lua Scala Clojure ClojureScript Swift OCaml SQL R Elm GraphQL supports a whole lot of languages and frameworks
8 GraphQL supports a whole lot of languages and frameworks
Kotlin GO Crystal
Companies using GraphQL 9 http://blog.honeypot.io/assets/images/ql-companies.png
Let that sink in! 10 REST APIs returns resources you
do not need, that’s why you have a bunch of endpoint’s you do not need
11
12 GraphQL To The Rescue
Ask for what you need, and get exactly that. NO
EXTRAS 13 Send a GraphQL query to your API and get exactly what you need, nothing more and nothing less. Apps using GraphQL are fast and stable because they control the data they get, not the server.
14 { viewer { name email } } Example
15 { viewer { name email } } Example
16 { "data": { "viewer": { "name": "Shodipo Ayomide", "email":
"
[email protected]
" } } } { viewer { name email } } POST: https://api.github.com/graphql
17 { user(login: "developerayo") { name location repositories { name
} } } Example
18 { user(login: "developerayo") { name location repositories { name
} } } POST: https://api.github.com/graphql { "data": { "user": { "name": “Shodipo Ayomide", "location": “Lagos, Nigeria", "repositories": [ { "name": “awesome-nuxtjs" }, { "name": “react-notify" }, { "name": “shodipoayomide.com" }, ... } } }
Versioning made easy 19 Add new fields and types to
your GraphQL API without impacting existing queries “think GitHub PR”. encourage cleaner, more maintainable server code.
20 GET /GraphQL Request Body Response Body query { post(id:
1) { id title tagline votesCount commentsCount thumbnailUrl hunter: { id avatarUrl } } }
21 GET /GraphQL Request Body Response Body query { post(id:
1) { id title tagline votesCount commentsCount thumbnailUrl hunter: { id avatarUrl } } }
22 GET /GraphQL Request Body Response Body query { post(id:
1) { id title tagline votesCount commentsCount thumbnailUrl hunter: { id avatarUrl } } } { "data": { "post": { "id": 1, "title": "Developerayo’s Blog", "tagline": "Articles on Soft.", "votesCount": 490, "commentsCount": 7,648, "thumbnailUrl": "google.com/tbn" "hunter": { "id": 1, "avatarUrl": "google.com/tbn" } } } }
23 A little Workshop Open CodeSandBox
The Apollo GraphQL platform is an implementation of GraphQL that
helps you manage data from the cloud to your UI. Got any questions about apollo? speak to @unicodeveloper https://www.apollographql.com
None
None
None
There is no Limit to what you can build 28
GraphQL Tools 29
GraphQL CSS 30 graphql-css is a blazing fast CSS-in-GQL library
that converts GraphQL queries into styles for your components https://github.com/braposo/graphql-css
GraphiQL 31 An interactive in-browser GraphQL IDE tool for GraphQL
https://github.com/graphql/graphiql
Graphcool 32 Self-Hosted GraphQL BaaS (Backend as a Service) https://www.graph.cool/
a GraphQL backend for your applications with a powerful web ui for managing your database and stored data
READY TO LEARN GRAPHQL? 33
Resources 34 GraphQL: https://graphql.org Apollo graphql: https://apollographql.com GraphiQL: https://github.com/graphql/graphiql Let’s
Learn GraphQL by Sara Vieira https://letslearngraphql.com/ How to GraphQL: https://howtographql.com GraphQL CSS https://github.com/braposo/graphql-css
35
Thanks! Any questions? You can find me @developerayo on Twitter,
GitHub, Everywhere Read some blog post here https://shodipoayomide.com 36