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
320
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
330
Implementing GraphQL with PHP - PHP Community Summit
alefesouza
0
200
Implementing GraphQL with Laravel and Vue.js
alefesouza
0
200
React: Zero to Hero
alefesouza
2
370
Implementing GraphQL with PHP
alefesouza
0
440
Node.js Chatbots with Bot Framework
alefesouza
0
280
Firebase as back-end
alefesouza
0
350
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
510
Web Components with Vanilla.js
alefesouza
0
480
Other Decks in Programming
See All in Programming
AWS Application Composerで始める、 サーバーレスなデータ基盤構築 / 20240406-jawsug-hokuriku-shinkansen
kasacchiful
1
260
大規模UIKitベースアプリへのTCAの段階的導入/gradual-adoption-of-tca-in-a-large-scale-uikit-based-app
takehilo
1
110
Git Rebase
bkuhlmann
11
1.6k
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
120
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
240
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
200
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
26
8.2k
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
910
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
950
Fragment Composition of GraphQL
quramy
4
770
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
230
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
670
Featured
See All Featured
Teambox: Starting and Learning
jrom
128
8.4k
Atom: Resistance is Futile
akmur
259
25k
[RailsConf 2023] Rails as a piece of cake
palkan
23
3.9k
Making the Leap to Tech Lead
cromwellryan
124
8.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
648
58k
Build The Right Thing And Hit Your Dates
maggiecrowley
24
2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
2
3.4k
Rails Girls Zürich Keynote
gr2m
91
13k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
21
1.6k
Automating Front-end Workflow
addyosmani
1356
200k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
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