Slide 1

Slide 1 text

"NQMJGZ ࢁ͋Γɺ୩͋Γฃಆه φΠϧגࣜձࣾ ࢁຊ४

Slide 2

Slide 2 text

• ࢯ໊ɿࢁຊ ४ • ॴଐɿ φΠϧגࣜձࣾ ϞϏϦςΟαʔϏεࣄۀ෦ • ΤϯδχΞྺɿ೥ • "84ར༻ྺɿ೥ • ࠷ۙͷझຯɿ Ϛʔέλʔͷ࠺ʹ42-Λڭ͑Δ͜ͱ ࣗݾ঺հ

Slide 3

Slide 3 text

• "84"NQMJGZಋೖʹࢸΔ·Ͱ • "84"NQMJGZΛಋೖͯ͠Έ࣮ͨମݧ • "84"NQMJGZಋೖΛݕ౼͍ͯ͠Δํ΁޲͚ͯ ࿩͢͜ͱ

Slide 4

Slide 4 text

"84"NQMJGZ ಋೖʹࢸΔ·Ͱ

Slide 5

Slide 5 text

Πϯϑϥߏ੒ͷมԽ ୈߏ੒ ୈߏ੒ 8IBU`T /FYU αʔόʔӡ༻ αʔόϨεԽ ୈߏ੒

Slide 6

Slide 6 text

๊͍͑ͯͨ՝୊ʢੜ࢈ੑʣ • ࣮૷ͷଐਓతͳϒϨ • ϦϦʔεͷखؒ • Ұͭͷ֬ೝ؀ڥͷऔΓ߹͍

Slide 7

Slide 7 text

๊͍͑ͯͨ՝୊ʢ඼࣭ʣ • ӡ༻ͷΦϖϛεݮ • ϦϦʔεޙͷো֐ݮ

Slide 8

Slide 8 text

՝୊ղܾͷ伴 "84"NQMJGZ ୈߏ੒ ୈߏ੒ αʔόʔӡ༻ αʔόϨεԽ ୈߏ੒

Slide 9

Slide 9 text

ಋೖͯ͠ΈͯͲ͏ʁ

Slide 10

Slide 10 text

"NQMJGZ'SBNFXPSLͰαΫοͱόο ΫΤϯυϑϩϯτΤϯυ࣮૷ʂ import API from "@aws-amplify/api"; const awsconfig = require("./aws-exports").default; API.configure(awsconfig); const runAPI = async () => { return await API.get('TestAPI', '/api/test', {}); }; "NQMJGZ'SBNFXPSLͷ"1*Ϟδϡʔϧ ΛϑϩϯτͰར༻͠ɺαΫοͱ"1*࣮ߦ $ amplify init $ amplify api update $ amplify push ίϚϯυͰ-BNCEBؔ਺࡞੒ˍσϓϩΠ var express = require('express') var bodyParser = require('body-parser') var awsServerlessExpressMiddleware = require('aws-serverless-express/middleware') // declare a new express app var app = express() app.use(bodyParser.json()) app.use(awsServerlessExpressMiddleware.eventContext()) // Enable CORS for all methods app.use(function(req, res, next) { res.header("Access-Control-Allow-Origin", "*") res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept") next() }); /********************** * Example get method * **********************/ app.get('/api/test', function(req, res) { // Add your code here res.json({success: 'get call succeed!', url: req.url}); }); -BNCEB༻ͷ&YQSFTTϑϨʔϜϫʔΫͰ࣮૷

Slide 11

Slide 11 text

.VMUJ&OWػೳͰෳ਺ͷ؀ڥߏஙՄೳʂ ։ൃऀ" ։ൃऀ# ։ൃऀ$ .VMUJ&OWJSPONFOU

Slide 12

Slide 12 text

"NQMJGZ$POTPMFͰര଎$*$%ߏங ϒϥϯνߋ৽ͰσϓϩΠࣗಈԽʂ ຊ൪ "NQMJGZ$POTPMF $*$% 1VTINBTUFSCSBODI 1VTITUBHJOHCSBODI εςʔδϯά "NQMJGZ$POTPMF $*$%

Slide 13

Slide 13 text

ੜ࢈ੑͷ՝୊શͯղܾʂ ü ࣮૷ͷଐਓతͳϒϨ ü ϦϦʔεͷखؒ ü Ұͭͷ֬ೝ؀ڥͷऔΓ߹͍ —"--(3&&/—

Slide 14

Slide 14 text

඼࣭՝୊͸গ͠վળʂ ü ӡ༻ͷΦϖϛεݮ "NQMJGZ$POTPMFͷ(JUIVC࿈ܞʹΑΓϦϦʔεΦϖϨʔγϣϯ͕ҰݩԽɻ • ϦϦʔεޙͷো֐ݮ ˞$ZQSFTTͰ&&ςετಋೖݕ౼͢Δ΋ɺ "NQMJGZ$POTPMFͷσϓϩΠ࣌ؒͷ౎߹ͰҰ୴தࢭɻ ରࡦݕ౼தɻɻɻ

Slide 15

Slide 15 text

"84"NQMJGZ ΊͬͪΌ͑͑࢓ࣄ͠·͢΍Μʂ

Slide 16

Slide 16 text

Ͱ΋ۤ೉΋͋Γ·ͨ͠ɻɻɻ

Slide 17

Slide 17 text

͸·ͬͨϙΠϯτᶃ ؀ڥผͷύϥϝʔλ౉͠ʹۤઓ "84"NQMJGZ όοΫΤϯυ ύϥϝʔλ ɾଞ"84Ϧιʔεͷ"3/ ɾ"1*ͷೝূΩʔ FUD ຊ൪ εςʔδϯά ։ൃ "84"NQMJGZ όοΫΤϯυ "84"NQMJGZ όοΫΤϯυ

Slide 18

Slide 18 text

UFBNQSPWJEFSJOGPKTPO ͜ͷϑΝΠϧʹ؀ڥผύϥϝʔλ௥Ճ "NQMJGZ$POTPMFͰ ಈ͔ͳ͍ʂʁ (JUIVCʹίϛοτ ඞཁʂʁ ͸·ͬͨϙΠϯτᶃ ؀ڥผͷύϥϝʔλ౉͠ʹۤઓ

Slide 19

Slide 19 text

͸·ͬͨϙΠϯτᶃ 1BSBNFUFS4UPSFͰղܾʂ ຊ൪ εςʔδϯά ։ൃ 1BSBNFUFS 4UPSF "84"NQMJGZ όοΫΤϯυ "84"NQMJGZ όοΫΤϯυ "84"NQMJGZ όοΫΤϯυ ᶃύϥϝʔλ஋Λొ࿥ ᶄσϓϩΠ࣌ʹ ύϥϝʔλऔಘ

Slide 20

Slide 20 text

͸·ͬͨϙΠϯτᶄ ผܥ౷ͷ4όέοτͷར༻ʹۤઓ DBSNPKQ ը૾༻ 4όέοτ ϗεςΟϯά༻ 4όέοτ ը૾ߋ৽ όονॲཧ DBSNPKQ ը૾༻ 4όέοτ ϗεςΟϯά༻ 4όέοτ ը૾ߋ৽ όονॲཧ ඥ෇͚ෆՄ چߏ੒ ༧ఆ͍ͯͨ͠ߏ੒

Slide 21

Slide 21 text

͸·ͬͨϙΠϯτᶄ $MPVE'SPOUΛઌ಄ʹ௥ՃͰճආ DBSNPKQ ը૾༻ 4όέοτ ϗεςΟϯά༻ 4όέοτ ը૾ߋ৽ όονॲཧ ը૾༻ 4όέοτ ϗεςΟϯά༻ 4όέοτ ը૾ߋ৽ όονॲཧ DBSNPKQ ඥ෇͚Մೳ چߏ੒ ৽ߏ੒

Slide 22

Slide 22 text

͜ΕΛ཈͓͍͑ͯͯʂ ಋೖɾӡ༻ͷϙΠϯτ

Slide 23

Slide 23 text

ಋೖɾӡ༻ϙΠϯτᶃ ద੾ͳͱ͜ΖͰ"NQMJGZΛར༻ ߴػೳͰ֦ுੑͷߴ͍ όοΫΤϯυͷߏங͕؆୯ "NQMJGZͰશͯߏங͸/( ˠංେԽʹΑΔอकੑͷ௿Լ

Slide 24

Slide 24 text

ಋೖɾӡ༻ϙΠϯτᶃ ద੾ͳͱ͜ΖͰ"NQMJGZΛར༻ ϞόΠϧɾ ϑϩϯτΤϯυ αʔϏε αʔϏε ϞόΠϧɾϑϩϯτΤϯυ։ൃ ˠ"84"NQMJGZ ͦͷଞͷ։ൃ ˠ$MPVE'PSNBUJPOɺ"84 $%, "84"NQMJGZͷ໨త ϞόΠϧɺϑϩϯτΤϯυ ͷ։ൃޮ཰ΛߴΊΔ $%/

Slide 25

Slide 25 text

ಋೖɾӡ༻ϙΠϯτᶄ $MPVE'PSNBUJPOͷجૅΛֶΜͰ͓͘ $MPVE'PSNBUJPO "84"NQMJGZͷ جૅ͸$MPVE'PSNBUJPO "NQMJGZΛར༻͍ͯ͠Δͱʜ ɾόοΫΤϯυ։ൃͷτϥϒϧγϡʔςΟϯά ɾσϑΥϧτͷػೳʹύϥϝʔλͳͲઃఆ௥Ճ ˠ$MPVE'PSNBUJPOͷجૅΛ ஌͓ͬͯ͘ͱӡ༻ָ͕

Slide 26

Slide 26 text

ಋೖɾӡ༻ϙΠϯτᶅ "84"NQMJGZͷखް͍αϙʔτΛར༻ (JUIVCͰΦʔϓϯʹ *TTVF؅ཧ͕͞Ε͍ͯΔ "84αϙʔτ΋׆༻

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

͝ਗ਼ௌ ͋Γ͕ͱ͏ ͍͟͝·ͨ͠ ΤϯδχΞɾͦͷଞ৬छେืूதʂ