Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AWS EventBridgeを活用したShopifyアプリの サーバーレス開発

AWS EventBridgeを活用したShopifyアプリの サーバーレス開発

877f92a3597118cda2715790fa170ad4?s=128

Junichi Okamura

October 28, 2020
Tweet

Transcript

  1. AWS EventBridgeΛ׆༻ͨ͠ShopifyΞϓϦͷ αʔόʔϨε։ൃ 2020.10.28 @ AWS SaaS+αʔόʔϨε/EventBridge Junichi Okamura


  2. • Junichi Okamura, Sr. Technical Partner Manager at Shopify •

    @benzookapi • API Lover/Midnight Developer/MANGA Creator/Beer Lover/App Hacker Who am I?
  3. ShopifyΞϓϦͷ։ൃํ๏ 01 ຊ೔ͷ͓୊ 02 ShopifyͱΞϓϦΤίγεςϜͷ֓ཁ 03 ShopifyΞϓϦͷAWSͰͷఏڙํ๏ 04 EventBridge WebhookͷղઆͱσϞ

    05 ֶशͷͨΊͷࢀߟ৘ใ
  4. 4 ShopifyʢγϣοϐϑΝΠʣʹ͍ͭͯ

  5. Shopify͸Ϋϥ΢υϕʔεͷίϚʔεϓϥοτϑΥʔϜͰ͢ɻݸਓͷํ͔Βେ اۀ·Ͱ҆৺ͯ͠͝ར༻͍͚ͨͩ·͢ɻ 2006 Shopify ϩʔϯν $1,728M ऩӹֹ (աڈ12ϱ݄) 4,600+ ΞϓϦετΞʹެ։͞Ε͍ͯΔΞϓϦͷ਺

    $172B ࣄۀऀ༷ͷGMV (ྦྷܭ) 2.9 million ళฮͷελοϑΞΧ΢ϯτ਺ 1,000,000+ ళฮ —— 175ϱࠃ~ 5,000+ ࣾһ਺ Shopifyʹ͍ͭͯ ׬શϦϞʔτԽ Digital by defaultͷ΋ͱ2020೥຤·Ͱ͸ΦϑΟεΛ׬શΫϩʔζ
  6. None
  7. 7 Shopifyͷಛ௃

  8. ϚϧννϟωϧίϚʔεϓϥοτϑΥʔϜ

  9. Shopify͸ൢചʹඞཁͳશͯΛαϙʔτ σβΠϯ ϗετ ܾࡁ SEO ෼ੳ σʔλ ϓϥΠόγʔ ड஫ υϝΠϯ

    ετΞ࡞੒ όοΫΤϯυ ϚʔέςΟϯά ҆શੑ ϒϩά
  10. ൚༻ੑ͕ߴࣗ͘༝౓ͷߴ͍ΧελϚΠζ͕Մೳ ෳ਺։ൃݴޠͰࣗ༝ͳΧελϚΠζΛՄೳͱ͢Δ๛෋ͳAPI Access APIs Inventory APIs Product APIs Analytics APIs

    MarketingEvent Sales channel APIs Billing APIs Metafield Shipping and fulfillment APIs Customer APIs Online store APIs Shopify Payments APIs Discount APIs Order APIs Store property APIs Event APIs Plus APIs TenderTransaction
  11. 11 ShopifyͷΞϓϦΤίγεςϜ

  12. 12 ShopifyΞϓϦετΞͱύʔτφʔϓϩάϥϜ ֦େ͢Δ Τίγε ςϜ

  13. 13 ೔ຊͰ΋ΞϓϦΤίγεςϜ͸ٸ֦େ ֦େ͢Δ Τίγε ςϜ ϨϕχϡʔγΣΞ ΞϓϦ՝ۚɿ 20% Shopify 80%

    ύʔτφʔ ετΞֹ݄අ༻ɿ 20% ύʔτφʔ 80% Shopify
  14. 14 ΞϓϦ։ൃͷୈҰาɿύʔτφʔొ࿥ ֦େ͢Δ Τίγε ςϜ

  15. 15 ShopifyΞϓϦͷ։ൃํ๏

  16. 16 Shopify Admin API (GraphQL/REST) ؅ཧऀ޲͚ ຒΊࠐΈΞ ϓϦ

  17. 17 Shopify Storefront API (GraphQL/SDK) ߪೖऀ޲͚ ετΞϑϩ ϯτΞϓϦ

  18. 18 ShopifyΞϓϦͷΞʔΩςΫνϟ ΞϓϦͷ ߏ੒

  19. 19 ShopifyΞϓϦͷΞʔΩςΫνϟ ΞϓϦͷ ߏ੒ EventBridge AWS

  20. 20 ShopifyΞϓϦͷAWSͰͷఏڙํ๏

  21. 21 ҰൠతͳྫʢWordpress࿈ܞΞϓϦʣ ύʔτφʔ αʔόʔͷ ߏ੒ Shopify API (঎඼ɾίϨΫγϣϯʣ தؒαʔόʔతͳ΋ͷ ֎෦API

    ʢίϯςϯπAPIʣ ੩తαΠτԽ Ұൠެ։ Πϯετʔϧ PWAͳͲ ଞ΁ͷԠ༻
  22. 22 ΋͏গ͠ߴ౓ͳྫʢύʔτφʔͷࣄྫʣ ύʔτφʔ αʔόʔͷ ߏ੒ ग़యɿNRI digital TECH BLOG

  23. 23 EventBridgeΛ͔ͭͬͨWebhook࿈ܞ ύʔτφʔ αʔόʔͷ ߏ੒ ग़యɿAWS E-Commerce with Shopify

  24. 24 EventBridge WebhookͷղઆͱσϞ

  25. 25 ShopifyΞϓϦͱEvent Bridgeͷ࿈ܞํ๏ EventBridge Webhookͷ ར༻ Shopify API 2020೥7݄

  26. 26 • σʔλͷվ᜵νΣοΫΛ͢Δඞཁ͕ͳ͍ • ௨৴ΤϥʔͷϋϯυϦϯάʢϦτϥΠͳͲʣ͕ܰݮͰ͖Δ • AWSͷఏڙ͢ΔηΩϡϦςΟͷԸܙΛड͚ΕΔ • LambdaͳͲͰ࣮૷͞Ε͍ͯΔΞϓϦͷॲཧͱ࿈ಈ͠΍͍͢ Shopify

    WebhookΛEventBridgeʹ͢Δར఺ EventBridge Webhookͷ ར༻
  27. 27 ֶशͷͨΊͷࢀߟ৘ใ

  28. 28 Shopify ύʔτφʔϒϩά ։ൃऀ Shopify ΞϓϦ։ൃ

  29. 29 Shopify ΦϯϥΠϯίϛϡχςΟʢϑΥʔϥϜʣ ࣭໰ Shopify ϑΥʔϥϜ

  30. 30 Shopify Partner Boot Camp ֶश Shopify Partner Boot Camp

  31. None