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
GraphQL: A new way to write APIs
Search
Alefe Souza
June 22, 2019
Programming
0
380
GraphQL: A new way to write APIs
https://github.com/alefesouza/talk-graphql
Alefe Souza
June 22, 2019
Tweet
Share
More Decks by Alefe Souza
See All by Alefe Souza
NativeScript: Native Apps with Angular
alefesouza
0
420
Implementing GraphQL with PHP - PHP Community Summit
alefesouza
0
250
Implementing GraphQL with Laravel and Vue.js
alefesouza
0
280
React: Zero to Hero
alefesouza
2
440
Implementing GraphQL with PHP
alefesouza
0
520
Node.js Chatbots with Bot Framework
alefesouza
0
340
Firebase as back-end
alefesouza
0
420
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
640
Web Components with Vanilla.js
alefesouza
0
580
Other Decks in Programming
See All in Programming
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
1
170
Lottieアニメーションをカスタマイズしてみた
tahia910
0
120
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
10
1.8k
sappoRo.R #12 初心者セッション
kosugitti
0
230
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
7
2.5k
2024年のkintone API振り返りと2025年 / kintone API look back in 2024
tasshi
0
210
ISUCON14公式反省会LT: 社内ISUCONの話
astj
PRO
0
180
Pythonでもちょっとリッチな見た目のアプリを設計してみる
ueponx
1
480
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
最近のVS Codeで気になるニュース 2025/01
74th
1
250
ARA Ansible for the teams
kksat
0
150
Introduction to kotlinx.rpc
arawn
0
630
Featured
See All Featured
Thoughts on Productivity
jonyablonski
69
4.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
A Philosophy of Restraint
colly
203
16k
For a Future-Friendly Web
brad_frost
176
9.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
20
2.4k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Adopting Sorbet at Scale
ufuk
74
9.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
Docker and Python
trallard
44
3.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Visualization
eitanlees
146
15k
Transcript
GraphQL Uma nova maneira de escrever APIs
@alefesouza https://as.dev Alefe Souza Full Stack Developer, Instrutor @alefesouza https://as.dev
O que é uma API? Utilizada principalmente para troca de
informação entre sistemas. @alefesouza https://as.dev
Web Apps IoT Mobile Apps Desktop Apps Outros Web API
Lógica de Negócios Banco de Dados @alefesouza https://as.dev
@alefesouza https://as.dev Construindo uma Web API do 0 http://bit.ly/talk-web-api
JSON @alefesouza https://as.dev
GraphQL? Uma especificação de linguagem de consulta de APIs, desenvolvida
pelo Facebook. @alefesouza https://as.dev
@alefesouza https://as.dev Príncipios • Tipos • Queries • Mutations
Tipos Permitem especificar objetos de entrada e saída, impedindo a
requisição caso ocorra algo fora do padrão. @alefesouza https://as.dev
Queries Utilizadas para consultas no endpoint único, também é muito
fácil de solicitar apenas o que os campos necessários. @alefesouza https://as.dev
Mutations Utilizadas para realizar qualquer tipo de alteração nos dados,
equivalente ao POST, PUT, PATCH, DELETE, identificados pelo nome. @alefesouza https://as.dev
Onde funciona? @alefesouza https://as.dev
Onde funciona? @alefesouza https://as.dev
Live Code! http://bit.ly/talk-graphql @alefesouza https://as.dev
Obrigado!! @alefesouza https://as.dev