Netlify Functions 叩き初め

Netlify Functions 叩き初め

Netlify / JAM Stack talk Osaka https://connpass.com/event/119135/

F703b996b502414dd880bc39789faa8f?s=128

Daisuke Konishi

February 15, 2019
Tweet

Transcript

  1. /FUMJGZ'VODUJPOT
 ୟ͖ॳΊ /FUMJGZ+".4UBDLUBML0TBLB

  2. %BJTVLF,0/*4)* 8FCΤϯδχΞ αʔόʔαΠυ࢝Ί·ͨ͠ Oճ໨  /FUMJGZͰϒϩά΍ࣗ෼ͷαΠτΛ
 ϗεςΟϯάͯ͠·͢

  3. /FUMJGZ'VODUJPOTʹ͍ͭͯ

  4. /FUMJGZ'VODUJPOTʹ͍ͭͯ w /FUMJGZͰ࢖͑Δ-BNCEBΈ͍ͨͳ΍ͭ
 ޙΖͰ͸-BNCEB͕ಈ͍ͯΔ w /PEFKT (PMBOH͕ಈ͘ w ৭ΜͳΠϕϯτͰಈ࡞Մೳ w

    Ϗϧυ੒ޭࣦഊ࣌ w εϓϦοτςετ։࢝࣌ w /FUMJGZ*EFOUJUZͰϩάΠϯ࣌ͳͲ
  5. IUUQTXXXOFUMJGZDPNQSJDJOH /FUMJGZ'VODUJPOTʹ͍ͭͯ

  6. ࢖ͬͯΈΔ

  7. ΍Δ͜ͱ  $-*πʔϧΛΠϯετʔϧ  ઃఆϑΝΠϧΛ࡞੒  'VODUJPOT༻ͷϑΝΠϧΛ࡞੒  σϓϩΠ 

    "1*Λୟ͘ ࢖ͬͯΈΔ
  8. ᵓTSD
 ᴹᵓGVODUJPOT
 ᴹᴹᵓIFMMPKT
 ᴹ
 ᵋOFUMJGZUPNM ࢖ͬͯΈΔ ϑΝΠϧߏ੒

  9. ZBSOBEEOFUMJGZMBNCEB ҎԼͷΑ͏ʹ࢖͑Δ OFUMJGZMBNCEBCVJMETSDGVODUJPOTϏϧυ
 OFUMJGZMBNCEBTFSWFTSDGVODUJPOTԾ૝αʔόʔىಈ ࢖ͬͯΈΔ ύοέʔδΛΠϯετʔϧ

  10. <CVJME> $PNNBOEZBSOCVJME 'VODUJPOTlGVODUJPOTzCVJMEޙͷσΟϨΫτϦ ࢖ͬͯΈΔ ઃఆϑΝΠϧ OFUMJGZUPNM Λ࡞੒

  11. FYQPSUTIBOEMFSGVODUJPO FWFOU DPOUFYU DBMMCBDL \ DBMMCBDL OVMM \ TUBUVT$PEF 

    CPEZ)FMMP 8PSME ^  ^ ࢖ͬͯΈΔ 'VODUJPOT༻ͷϑΝΠϧΛ࡞੒
  12. FYQPSUTIBOEMFSGVODUJPO FWFOU DPOUFYU DBMMCBDL \ DBMMCBDL OVMM \ TUBUVT$PEF 

    CPEZ+40/TUSJOHJGZ \NFTTBHFl)FMMP 8PSMEz^  ^  ^ ࢖ͬͯΈΔ +40/Λฦ͢ͳΒ 'VODUJPOT༻ͷϑΝΠϧΛ࡞੒
  13. ଞͷػೳಉ༷(JU)VCͱ࿈ܞ͓ͯ͘͠ͱָ
 HJUQVTId 
 ΤϯυϙΠϯτ͸ҎԼʹͳΔ
 IUUQTIPHFGVHBOFUMJGZDPNOFUMJGZGVODUJPOT'*-&@/".& ࢖ͬͯΈΔ σϓϩΠ

  14. ࢖ͬͯΈΔ "1*Λୟ͘ w ΫϥΠΞϯταΠυͷॲཧॻ͘ w ͦ͏͍͏ςετॻ͘ w DVSMͰୟ͘ w ͳΜ͔͠ΒαʔϏε࢖͏

    w 1045."/  w 3FTUMFU$MJFOU $ISPNF֦ு
  15. None
  16. ֎෦"1*Λୟ͘

  17. /FUMJGZ'VODUJPOT 0UIFS
 4FSWJDFT

  18. None
  19. FYQPSUTIBOEMFSBTZOD FWFOU DPOUFYU DBMMCBDL \ ύϥϝʔλνΣοΫ SFUVSOμϝͳΒ SFUVSO֎෦αʔϏεʹϦΫΤετ UIFO SFTQPOTF\

    SFUVSO੒ޭͨ͠σʔλΛDBMMCBDL ^  DBUDI FSSPS\ SFUVSOࣦഊͨ͠಺༰ΛDBMMCBDL ^  ^
  20. w ֎෦αʔϏεΛୟ͖͗͢ͳ͍Α͏ʹϨεϙϯεΛΩϟογϡ OPEFDBDIFͱ͔ w ผͷͱ͔͜Βୟ͔ΕͨΒਏ͍ ཁରԠ

  21. IUUQTHJUIVCDPNOFUMJGZGVODUJPOTUSFFNBTUFSTSDMBNCEB αϯϓϧ͸(JUIVCʹݸ͘Β͍

  22. IUUQTHJUIVCDPNOFUMJGZDSFBUFSFBDUBQQMBNCEB

  23. IUUQTHJUIVCDPNOFUMJGZOFUMJGZGBVOBECFYBNQMF

  24. ΍ͬͯΈͯɾௐ΂ͯΈͯ w OFUMJGZUPNMͷهड़ϛεΓ͕ͪ 1"5)ͷࢦఆ  w /FUMJGZଆ͕৭ʑͱαϯϓϧΛ༻ҙͯ͘͠ΕͯΔͷͰ
 ࢝Ί΍͍͢ w Ξ΢τό΢ϯυͷ௨৴΋Ͱ͖Δͷخ͍͠

    w ϓϥϯΛࣗಈͰมߋ͞ΕΔΒ͍͠ͷͰ͚ͦͩ͜ා͍