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
360
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
400
Implementing GraphQL with PHP - PHP Community Summit
alefesouza
0
240
Implementing GraphQL with Laravel and Vue.js
alefesouza
0
250
React: Zero to Hero
alefesouza
2
410
Implementing GraphQL with PHP
alefesouza
0
500
Node.js Chatbots with Bot Framework
alefesouza
0
320
Firebase as back-end
alefesouza
0
400
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
630
Web Components with Vanilla.js
alefesouza
0
560
Other Decks in Programming
See All in Programming
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
4
2k
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
3
430
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
5
6.3k
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.1k
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
210
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
180
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
170
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
Realtime API 入門
riofujimon
0
140
破壊せよ!データ破壊駆動で考えるドメインモデリング / data-destroy-driven
minodriven
17
4.3k
Macとオーディオ再生 2024/11/02
yusukeito
0
330
cXML という電子商取引の トランザクションを支える プロトコルと向きあっている話
phigasui
3
2.3k
Featured
See All Featured
Music & Morning Musume
bryan
46
6.2k
A Tale of Four Properties
chriscoyier
156
23k
Documentation Writing (for coders)
carmenintech
65
4.4k
Docker and Python
trallard
40
3.1k
Producing Creativity
orderedlist
PRO
341
39k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Designing the Hi-DPI Web
ddemaree
280
34k
Visualization
eitanlees
145
15k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
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