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

【スタートアップ開発者必見】firebaseとalgoliaとstripeで1人で本格的なiOSアプリを作る方法

KBOY
September 17, 2019

 【スタートアップ開発者必見】firebaseとalgoliaとstripeで1人で本格的なiOSアプリを作る方法

KBOY

September 17, 2019
Tweet

More Decks by KBOY

Other Decks in Programming

Transcript

  1. 'JSFCBTFͱBMHPMJBͱ
    TUSJQFͰຊ֨తͳJ04ΞϓϦ
    Λ̍ਓͰ࡞Δํ๏
    ,#0:

    View full-size slide

  2. ࣗݾ঺հ
    ,#0:

    View full-size slide

  3. ϑϦʔϥϯε

    View full-size slide

  4. ࠷ۙͷ࢓ࣄ

    View full-size slide

  5. ࠷ۙͷ࢓ࣄᶃ

    View full-size slide

  6. ࠷ۙͷ࢓ࣄᶄ

    View full-size slide

  7. ࠷ۙͷ࢓ࣄᶅ

    View full-size slide

  8. ࠷ۙͷ࢓ࣄ
    wϑΟοτωετϨʔφʔͱϢʔβʔ
    ͷϚονϯάΞϓϦ
    wϙʔΧʔಈըΞϓϦ
    w 'MVUUFSͰ࡞ΒΕͨΞϓϦ

    View full-size slide

  9. 'JSFCBTFͰ
    ࡞Γ·ͨ͠

    View full-size slide

  10. 'JSFCBTFͷܽ఺
    w-*,&ݕࡧ͕Ͱ͖ͳ͍
    wܾࡁػೳ͕ͳ͍
    wಈըͷIMT഑৴͸Ͱ͖ͳ͍

    View full-size slide

  11. wϢʔβʔ
    wνϟοτ
    w4/4
    wৄࡉݕࡧ
    wܾࡁ
    wಈըͷ࠶ੜ
    ྫ͑͹

    View full-size slide

  12. ૊Έ߹ΘͤΕ͹
    ݁ߏΠέΔ

    View full-size slide

  13. ͔͠΋̍ਓͰ

    View full-size slide

  14. Ͱ΋εΩϧ͸ඞཁ

    View full-size slide

  15. w 'JSFCBTFͷ஌ࣝʯ
    w BMHPMJB΍4USJQFͷ஌ࣝ
    w 5ZQF4DSJQU
    ඞཁͳJ044XJGUҎ֎ͷεΩϧ

    View full-size slide

  16. w 'JSFCBTFͷ஌ࣝʯ
    w BMHPMJB΍4USJQFͷ஌ࣝ
    w 5ZQF4DSJQU
    ඞཁͳJ044XJGUҎ֎ͷεΩϧ

    View full-size slide

  17. ϑΟοτωετϨʔφʔͱ
    ϢʔβʔͷϚονϯάΞϓϦ

    View full-size slide

  18. ϙʔΧʔಈը

    View full-size slide

  19. pSFCBTF
    σʔλϕʔε ϩάΠϯ
    ը૾ "1*తͳ໾ׂ
    4/4͔ΒͷϦϯΫ ௨஌

    View full-size slide

  20. ࠷৽ͷಈըͷ঺հᶃ

    View full-size slide

  21. ৽نτϨʔφʔΛ࡞੒

    View full-size slide

  22. $MPVEGVODJUPO͕ൃՐ

    View full-size slide

  23. ৽نτϨʔφʔΛ࡞੒
    อଘ

    View full-size slide

  24. "MHPMJBʹ
    τϨʔφʔͷJOEFYΛอଘ

    View full-size slide

  25. BMHPMJB τϨʔφʔ

    View full-size slide

  26. BMHPMJB τϨʔφʔ

    View full-size slide

  27. BMHPMJB ϙʔΧʔಈը

    View full-size slide

  28. BMHPMJB ϙʔΧʔಈը

    View full-size slide

  29. BMHPMJB ϙʔΧʔಈը

    View full-size slide

  30. ࠷৽ͷಈըͷ঺հ

    View full-size slide

  31. 2JJUBʹ΋ॻ͍ͯ·͢

    View full-size slide

  32. άοζΛങ͏ͳͲͷ୯ൃͷܾࡁ
    ຖ݄ͷαϒεΫϦϓγϣϯ
    ϑϦϚ౳ͷ$UP$ͷܾࡁ

    View full-size slide

  33. 1.ސ٬ͷ࡞੒
    2.ϫϯλΠϜτʔΫϯൃߦ
    3.Χʔυ৘ใͷऔಘ
    4.ܾࡁ
    खॱ

    View full-size slide

  34. ·ͣ͸"1*
    ·ͣindex.tsʹͯ̏ͭͷAPIΛ࡞Γ·͢ɻ
    1.customerΛ࡞ͬͯcustomerIdΛϑϩϯτʹฦ͢API
    2.ϫϯλΠϜτʔΫϯΛൃߦ͢ΔAPI
    3.ܾࡁ͢ΔAPI

    View full-size slide

  35. ৽نτϨʔφʔΛ࡞੒
    อଘ
    ͖ͬ͞ͷ৔߹

    View full-size slide

  36. DVTUPNFS࡞੒
    ϦΫΤετ

    View full-size slide

  37. ᶃcustomerΛ࡞ͬͯcustomerIdΛ
    ϑϩϯτʹฦ͢API

    View full-size slide

  38. ᶃcustomerΛ࡞ͬͯcustomerIdΛ
    ϑϩϯτʹฦ͢API in iOS

    View full-size slide

  39. ᶄϫϯλΠϜτʔΫϯΛൃߦ͢ΔAPI

    View full-size slide

  40. ᶅܾࡁ͢ΔAPI

    View full-size slide

  41. σϓϩΠ͞Ε༷ͨࢠ

    View full-size slide

  42. ͳͥΘ͟Θ͟stripeͷॲཧΛ
    શͯFunctionsͷதʹॻ͘ͷ͔ʁ

    View full-size slide

  43. stripeͷγʔΫϨοτΩʔΛ
    iOSΞϓϦͷதʹॻ͍ͪΌ͑͹
    ͜ΕΒͷAPIΛCloud Functionsʹॻ͘ඞཁ͸ͳ͍

    View full-size slide

  44. ηΩϡϦςΟతʹਪ঑͞Εͳ͍

    View full-size slide

  45. Ωʔ͸؀ڥม਺ͱͯ͠
    cloud functionsʹηοτ

    View full-size slide

  46. 1.ސ٬ͷ࡞੒
    2.ϫϯλΠϜτʔΫϯൃߦ
    3.Χʔυ৘ใͷऔಘ
    4.ܾࡁ
    खॱ

    View full-size slide

  47. 1.ސ٬ͷ࡞੒
    2.ϫϯλΠϜτʔΫϯൃߦ
    3.Χʔυ৘ใͷऔಘ
    4.ܾࡁ
    खॱ

    View full-size slide

  48. Χʔυ৘ใͷऔಘ

    View full-size slide

  49. ܾࡁ͕׬༷ྃͨ͠ࢠ

    View full-size slide

  50. 2JJUBʹ΋ॻ͍ͯ·͢

    View full-size slide

  51. w 'JSFCBTFͱͦͷଞͷ૊Έ߹Θ
    ͤͰ̍ਓͰ΋ϦονͳΞϓϦΛ
    ࡞ΕΔ
    w 5ZQF4DSJQU΍OPEFKT͸
    ͪΐͬͱษڧඞཁ
    ·ͱΊ

    View full-size slide