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
GraphCMS + Node.js
Search
Takashi Fujita
August 31, 2017
Technology
2
670
GraphCMS + Node.js
GraphCMS で GraphQL API、Node.js でアプリケーションを作り、Elastic Beanstalkで環境構築。
Takashi Fujita
August 31, 2017
Tweet
Share
Other Decks in Technology
See All in Technology
The Rise of LLMOps
asei
7
1.6k
アジャイルでの品質の進化 Agile in Motion vol.1/20241118 Hiroyuki Sato
shift_evolve
0
150
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
3
220
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
120
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
180
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
110
SREが投資するAIOps ~ペアーズにおけるLLM for Developerへの取り組み~
takumiogawa
1
310
Flutterによる 効率的なAndroid・iOS・Webアプリケーション開発の事例
recruitengineers
PRO
0
100
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
830
Terraform Stacks入門 #HashiTalks
msato
0
350
DynamoDB でスロットリングが発生したとき_大盛りver/when_throttling_occurs_in_dynamodb_long
emiki
1
190
Lexical Analysis
shigashiyama
1
150
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Building Applications with DynamoDB
mza
90
6.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Ruby is Unlike a Banana
tanoku
97
11k
Code Review Best Practice
trishagee
64
17k
Thoughts on Productivity
jonyablonski
67
4.3k
Navigating Team Friction
lara
183
14k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Transcript
(SBQI$.4 /PEF &MBTUJD#FBOTUBMLͰڥߏங /PEFֶԂ࣌ݶ
'6+*5"5BLBTIJ 'SPOUFOE8FC&OHJOFFS OBNF!UHGKU ࣗݾհ (JU)VC +BWB4DSJQU (SBQI$.4 /PEF
(SBQI$.4 /PEF ࠷ۙͷ͓ࣄ w ෳ8FCαΠτͷཧ w ϫʔΫϑϩʔվળ ฐ͕ࣾཧ͍ͯ͠Δ8FCαΠτͦΕͳΓʹ͕͋Γ ·ͩΤϯδχΞ͕͍ͳ͍࣌ʹ࡞ΒΕͨҨ࢈ʜ อकɾӡ༻͕ࡶʹͳΓ͕ͪ
ϑϩϯτΤϯυʼόοΫΤϯυͷۀෛՙ
8PSE1SFTT͔Βͷஔ͖͑ w ੩తʹߏஙɾӡ༻͕Մೳͳͷ/FUMJGZ w ΦϯϥΠϯߋ৽ɾΤσΟλ͕ඞཁͳͷ w ӡ༻୲Λߟ͑Δͱɺ(JUͷར༻Λલఏʹग़དྷͳ͍ w +FLZMMͳͲͷδΣωϨʔλྨͰ͍͠
(SBQI$.4 /PEF
w ϩάΠϯͯ͠ΦϯϥΠϯͰهࣄ͕ॻ͚ͯ w σϓϩΠपΓؚΊɺڥߏங͕ͳΔָ͘Ͱ w σʔλͷ*NQPSU&YQPSUग़དྷΔͱྑ͍ͳ͊ʜ /FUMJGZ$.4 (IPTU ,FZTUPOF+4 (P
("& 8PSE1SFTTDPN +40/"1* $SBGU$.4 #VUUFS$.4 EKBOHP$.4 FUD FUDʜ ɻɻ (SBQI$.4 /PEF
None
IUUQTHSBQIDNTDPNCMPHHSBQIDNTWTXPSEQSFTTBDPNQBSJTPO
(SBQI2-"1*ͱ(6*ΤσΟλʂʁ ! 41" /PEFαʔό 'SPOUFOEٕज़͕׆͔͍͢͠ (SBQI$.4 /PEF
(SBQI$.4
w (SBQI2-"1*Λ͓ؾܰ࡞ w (6*ͰϙνϙνͱϞσϧΛఆٛ w ίϯςϯπΛΦϯϥΠϯ(6*ΤσΟλͰ࡞ IUUQTHSBQIDNTDPN (SBQI$.4 /PEF
None
None
(SBQIJ2-͋ΔΑ (SBQI$.4 /PEF
(SBQI2-*%& w ϓϩδΣΫτཧ w *NQPSU&YQPSU w ΫΤϦΛอଘ w ΫΤϦཤྺ w
$VTUPNIFBEFST w ڥมGPSEZOBNJDIFBEFST (SBQI$.4 /PEF
ඍົʹϋϚͬͨʜ w Bearerͷޙʹʮ:ʯཁΒͳ͍ w {auth_token}͡Όͳ͘{{auth_token}} (SBQI$.4 /PEF
(SBQIDPPMͱͷҧ͍ w Ϟσϧఆ͕ٛ(6* w ίϯςϯπΤσΟλ͕༻ҙ͞Ε͍ͯΔ (SBQI$.4 /PEF
ʢݱ࣌ʣ w .BSLEPXOͷ$PEF#MPDL ͕յΕΔ w 3JDI&EJUPSͷվߦ͕૿৩ ͢Δ (SBQI$.4ͷྑ͠ѱ͠ w (6*ʹΑΓɺ(SBQI2-Λ
Βͳ͍ঢ়ଶͰૢ࡞Մೳ w ͨ͘·͍͠αϙʔτ όάνέοτɾཁνέοτɺ (JU)VCʹ *OUFSDPNɾ4MBDLͰؾܰʹνϟο ταϙʔτ ྑ͍ͱ͜Ζ (SBQI$.4 /PEF
(SBQI$.4ͦͷଞ w 3PBENBQ࡞தΒ͍͠ w 8FCαΠτϦχϡʔΞϧͱಉ࣌ʹެ։ w ͦΕ·Ͱ͜ͷԼ෦ʹIUUQTHSBQIDNTDPNCMPHXIBUTOFXJOHSBQIDNT w ը૾ՃՄೳʢճసɺإೝࣝ΅͔͠ʣ w
8FCIPPLػೳ͋Δ (SBQI$.4 /PEF
"QPMMP$MJFOU w 4FSWFSTJEFͰ͏߹ͷҙ global.fetch = require(‘node-fetch’) // fetch ͕ແ͍ͱౖΒΕͪΌ͏ʼʻ
ɹnpm i -S apollo-client graphql-tag (SBQI$.4 /PEF
(SBQI$.4 /PEF
w ߴϓϥάΠϯʢ&YQSFTTͷͱޓੑΞϦʣ w 4DIFNBϕʔε w 1JOPͰ-PHHJOH| pino-colada w ͕͔ͩ͠͠ɺະͩΛ+40/Ͱ͔͠ฦͤͣʂ (SBQI$.4
/PEF
(SBQI$.4 /PEF
&MBTUJD#FBOTUBML ͱ"$.Ͱ͓खܰ)5514ڥ (SBQI$.4 /PEF
/PEFKT൛&# w BQQKTTFSWFSKTOQNTUBSU͕ࣗಈ&OUSZ1PJOU w /PEFKTͷόʔδϣϯΛϓϧμϯͰબ w "VUPTDBMJOH w eb initͯ͠ɺeb
deploy ͰσϓϩΠ w ཧը໘ͰखܰʹɺڥมɾOHJOYઃఆ (SBQI$.4 /PEF
"84$FSUJpDBUF.BOBHFS ׳ΕΕͰ)5514 BENJO!EPNBJOͰϝʔϧΛड͚औΔΑ͏ʹ४උ υϝΠϯͰূ໌ॻϦΫΤετ "NB[PO͔Βϝʔϧड৴ˍঝೝ &CͷϩʔυόϥϯαʔઃఆͰܨ͙͚ͩ
(SBQI$.4 /PEF
(SBQI$.4 /PEF ·ͱΊ w ϛχϚϜʹ࢝ΊΒΕΔ w (SBQI2-ͷࢼݧಋೖͱͯ͠༗༻ w ڊେͳϝϯςίετΛճආ w
'SPOUFOEٕज़Λ׆͔͍͢͠ w ։ൃɾӡ༻Λ'SPOUFOEϦιʔεͰղܾ
(SBQI$.4 /PEF ͱ͜ΖͰʜ πΫϧόͰΤϯδχΞΛืू͍ͯ͠·͢ʂ IUUQUTVLVSVCBDPNDBSFFST
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ
(SBQI$.4 /PEF ࢀߟ w IUUQTHSBQIDNTDPN w IUUQTHSBQIDNTDPNCMPHHSBQIDNTWTXPSEQSFTTBDPNQBSJTPO w IUUQTHSBQIDNTDPNCMPHXIBUTOFXJOHSBQIDNT w
IUUQTHJUIVCDPNSFEPVOEHSBQIRMJEF w IUUQEFWBQPMMPEBUBDPN w IUUQTHJUIVCDPNGBTUJGZGBTUJGZ w IUUQTBXTBNB[PODPNFMBTUJDCFBOTUBML w IUUQTBXTBNB[PODPNDFSUJpDBUFNBOBHFS