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
450
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GraphQL: A new way to write APIs
https://github.com/alefesouza/talk-graphql
Alefe Souza
June 22, 2019
More Decks by Alefe Souza
See All by Alefe Souza
NativeScript: Native Apps with Angular
alefesouza
0
490
Implementing GraphQL with PHP - PHP Community Summit
alefesouza
0
320
Implementing GraphQL with Laravel and Vue.js
alefesouza
0
350
React: Zero to Hero
alefesouza
2
520
Implementing GraphQL with PHP
alefesouza
0
600
Node.js Chatbots with Bot Framework
alefesouza
0
420
Firebase as back-end
alefesouza
0
490
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
710
Web Components with Vanilla.js
alefesouza
0
680
Other Decks in Programming
See All in Programming
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
190
AIで効率化できた業務・日常
ochtum
0
130
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
220
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.3k
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
100
Oxcを導入して開発体験が向上した話
yug1224
4
310
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
120
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
Creating Composable Callables in Contemporary C++
rollbear
0
110
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
260
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
2
620
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
540
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Speed Design
sergeychernyshev
33
1.8k
Leo the Paperboy
mayatellez
7
1.8k
Docker and Python
trallard
47
3.9k
First, design no harm
axbom
PRO
2
1.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
240
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
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