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
Lessons Learned - GraphQL API: Ruby on Rails
Search
Mário Silva
March 30, 2019
Programming
72
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Lessons Learned - GraphQL API: Ruby on Rails
Lessons Learned with developing an API with RoR
Mário Silva
March 30, 2019
Other Decks in Programming
See All in Programming
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
golang-bob.pdf
iwatsukayura
0
130
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
4
3.5k
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
140
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
590
Featured
See All Featured
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
GitHub's CSS Performance
jonrohan
1033
470k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
The browser strikes back
jonoalderson
0
1.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Accessibility Awareness
sabderemane
1
250
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Become a Pro
speakerdeck
PRO
31
6.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Transcript
GRAPHQL API: RUBY ON RAILS LESSONS LEARNED
WHO AM I? ▸ Web developer @ RedLight Software ▸
@mjgsilva (twitter / github / wtv)
WHO AM I? ▸ Sometimes I take photos
WHY GRAPHQL? ▸ Driven by uncertainty
REST VS GRAPHQL GET POST UPDATE DELETE QUERY MUTATION
GRAPHQL QUERY TYPE INPUT TYPE MUTATION
TYPE
INPUT TYPE
QUERY
MUTATION
CUSTOM TYPES
CUSTOM TYPE
#1 FLEXIBILITY: SORT OF
#2 FOLDER STRUCTURE
PROBLEM
TEXT LIVE QUERY
#3 THE PUNISHER ▸"
# 4: N+1 ▸ https://github.com/ConsultingMD/graphql-preload ▸ https://github.com/shopify/graphql-batch ▸ https://github.com/exAspArk/batch-loader
MUTATION: LIVE DEMO
UNION: LIVE DEMO
#5 AUTHENTICATION ▸ ▸ Devise + Devise-JWT (expect a messy
config if your API is public + private)
#6 AUTHORIZATION ▸ https://github.com/exAspArk/graphql-guard ▸ https://github.com/ontohub/graphql-pundit
#7: LOGGING / PROFILING ▸ Appsignal ▸ NewRelic ▸ Datadog
▸ Prometheus ▸ Apollo Engine
#8 DOCUMENTATION ▸ npm install -g @2fd/graphdoc ▸ https://2fd.github.io/graphdoc/shopify/
TEXT #9: API VERSIONING
Q & A