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

超ざっくりFirebase vs Amplify

超ざっくりFirebase vs Amplify

gunmaweb#40のLTスライドです。

TsukasaSekiguchi

March 06, 2021
Tweet

More Decks by TsukasaSekiguchi

Other Decks in Technology

Transcript

  1. ௒ͬ͘͟Γ
    'JSFCBTFWT"NQMJGZ
    2021/03/06
    Gunma.web #40
    ؔޱ ࢘

    View full-size slide

  2. ࣗݾ঺հ
    ໊લ:
    ؔޱ࢘
    ΞΧ΢ϯτ:
    GitHub: TsukasaGR
    Twitter: TsukasaGr
    ࠲ӈͷ໏
    ࣗ෼ͷͨΊʹɺଞਓʹਚ͘͢ / ΈΜͳ͕ͪͬͯɺΈΜͳ͍͍
    ࢓ࣄ:
    αϥϦʔϚϯ: SIerͰडୗ։ൃ
    ϑϦʔϥϯε: ελʔτΞοϓͷWebΤϯδχΞ
    ࠷ۙ৮ͬͯΔ΋ͷ:
    Javascript/Typescript(Vue.js/Nuxt.js/NestJS/React)ɺCordovaɺMetabase

    View full-size slide

  3. ࠓ೔࿩͢͜ͱ
    લఏ͢΂ͯ8FCدΓ؍఺Ͱ͢
    w 'JSFCBTFͷ௒ͬ͘͟Γ֓ཁ
    w "NQMJGZͷ௒ͬ͘͟Γ֓ཁ
    w 'JSFCBTF"NQMJGZͷ௒ͬ͘͟Γྨࣅ఺ɺ૬ҧ఺
    w ݸਓతʹߟ͑Δ௒ͬ͘͟Γ'JSFCBTF"NQMJGZͷ࢖͍෼͚
    w ௒ͬ͘͟Γࢀߟ৘ใ

    View full-size slide

  4. ஫ҙ఺
    ຊεϥΠυ͸ଟগௐ΂ͨఔ౓ͷ஌ࣝݸਓͷओ؍Λ΋ͱʹ͍ͯ͠Δ
    ෦෼͕ඇৗʹଟ͋͘Γ·͢ͷͰɺೝ͕ࣝޡ͍ͬͯΔ෦෼͕গͳ͔Β
    ͣ͋Δͱࢥ͍·͢ɻ
    ྃ͝ঝ͍ͩ͘͞ɻ

    View full-size slide

  5. 'JSFCBTFͷ௒ͬ͘͟Γ֓ཁ

    View full-size slide

  6. 'JSFCBTFͷ௒ͬ͘͟Γ֓ཁ
    w ϑΝΠΞʔϕʔε
    w ೥։࢝ɺ೥ʹ(PPHMF͕ങऩ
    w N#BBT .PCJMF#BDLFOEBTB4FSWJDF
    ͷ୅ද֨
    w ͍Ζ͍ΖͳαʔϏε͕͋Δ
    w ೝূɺ%#ɺؔ਺ɺετϨʔδɺϗεςΟϯάɺ1VTI௨஌ɺػ
    ցֶशɺ؂ࢹɺςετ౳
    w ؆୯ʹϞόΠϧΞϓϦ΍8FCαʔϏε͕ͭ͘ΕΔ

    View full-size slide

  7. 'JSFCBTFͷ௒ͬ͘͟Γ֓ཁ
    w ಛʹೝূɺ%#͕༗໊
    w ೝূ 'JSFCBTF"VUI

    w ΊͪΌͪ͘Ό؆୯ʹೝূػೳΛͭ͘ΕΔ
    w 4/4ϩάΠϯ΋छྨ͕๛෋
    w %# 'JSFTUPSF

    w /P42-
    w 4%,͔Β௚઀ૢ࡞Ͱ͖ΔͷͰόοΫΤϯυͳ͠Ͱ΋%#ૢ࡞͕Մೳ

    View full-size slide

  8. "NQMJGZͷ௒ͬ͘͟Γ֓ཁ

    View full-size slide

  9. "NQMJGZͷ௒ͬ͘͟Γ֓ཁ
    w ΞϯϓϦϑΝΠ
    w ೥։࢝ɺ"84ͷαʔϏε
    w "84ͷαʔϏε͕ͩ044
    w N#BBT .PCJMF#BDLFOEBTB4FSWJDF
    ք۾Ͱ'JSFCBTFҰڧ ˞
    ࣌୅ʹ
    ݱΕͨظ଴ͷର߅അ
    w ͍Ζ͍ΖͳαʔϏε͕͋Δ
    w ೝূɺ%#ɺؔ਺ɺετϨʔδɺϗεςΟϯάɺ1VTI௨஌ɺػցֶश౳
    w ؆୯ʹϞόΠϧΞϓϦ΍8FCαʔϏε͕ͭ͘ΕΔ
    ˞ݸਓతͳओ؍Ͱ͢

    View full-size slide

  10. "NQMJGZͷ௒ͬ͘͟Γ֓ཁ
    w ಛʹϗεςΟϯάɺ%#͕ײಈ͢Δ
    w ϗεςΟϯά
    w (JU)VCͱ࿈ܞͰ͖͙ͯ͢ʹࣗಈσϓϩΠ QVTIͨ͠Β͙͢ʹ൓ө͞
    ΕΔ
    Ͱ͖Δ
    w ϒϥϯν͝ͱʹϗεςΟϯά΋؆୯
    w %#
    w /P42-͚ͩͰͳ͘3%#΋࢖͑Δ
    w (SBQI2-͕ΊͪΌͪ͘Ό؆୯ʹ࢖͑Δ

    View full-size slide

  11. 'JSFCBTF"NQMJGZͷ
    ௒ͬ͘͟Γྨࣅ఺ɺ૬ҧ఺

    View full-size slide

  12. 'JSFCBTF"NQMJGZͷ௒ͬ͘͟Γྨࣅ఺ɺ૬ҧ఺
    w ΊͪΌͪ͘Ό؆୯ʹϗεςΟϯάͰ͖Δ
    w ΊͪΌͪ͘Ό؆୯ʹೝূػೳΛͭ͘ΕΔ
    w ΊͪΌͪ͘Ό؆୯ʹ%#ΞΫηεػೳΛͭ͘ΕΔ
    w ΊͪΌͪ͘Ό؆୯ʹετϨʔδ؅ཧػೳΛͭ͘ΕΔ
    w Φʔτεέʔϧ
    ྨࣅ఺

    View full-size slide

  13. 'JSFCBTF"NQMJGZͷ௒ͬ͘͟Γྨࣅ఺ɺ૬ҧ఺
    w ྉۚ
    w ͍͢·ͤΜɺࡉ͔͍͜ͱ͸ௐ΂ͯ·ͤΜ
    w ֶशίετ
    ૬ҧ఺
    w "1*
    w 'JSFCBTF
    w 4%,3FTU
    w "NQMJGZ
    w 4%,3FTU(SBQI2-
    w %#
    w 'JSFCBTF
    w /P42-
    w "NQMJGZ
    w /P42-3%#

    View full-size slide

  14. ݸਓతʹߟ͑Δ௒ͬ͘͟Γ
    'JSFCBTF"NQMJGZͷ࢖͍෼͚

    View full-size slide

  15. ݸਓతʹߟ͑Δ௒ͬ͘͟Γ'JSFCBTF"NQMJGZͷ࢖͍෼͚
    w 'JSFCBTFҰ୒
    w 'JSFCBTF
    w όοΫΤϯυ͕Θ͔Βͳͯ͘΋ΞϓϦΛͭ͘ΕΔ
    w "NQMJGZ
    w όοΫΤϯυͷߏஙΛ؆୯ʹͭ͘ΕΔ
    έʔε
    ɹόοΫΤϯυͱ͔Α͘Θ͔ΒΜ͚ͲͱΓ͋͑ͣಈ͘΋ͷΛͭ͘Γ͍ͨ

    View full-size slide

  16. ݸਓతʹߟ͑Δ௒ͬ͘͟Γ'JSFCBTF"NQMJGZͷ࢖͍෼͚
    w "NQMJGZҰ୒
    w 'JSFCBTF
    w /P42- 35%#PS'JSFTUPSF
    ͷΈ
    w "NQMJGZ
    w /P42- %ZOBNP%#
    ͷ΄͔ɺ3%# "VSPSB4FSWFSMFTT
    ΋
    ར༻Մೳ
    έʔε
    ɹෛՙಡΊͳ͍͔ΒΦʔτεέʔϧʹ͍͚ͨ͠Ͳ3%#࢖͍͍ͨ

    View full-size slide

  17. ݸਓతʹߟ͑Δ௒ͬ͘͟Γ'JSFCBTF"NQMJGZͷ࢖͍෼͚
    w ͲͪΒ͔ͱݴ͑͹'JSFCBTF͔ͳ
    w 'JSFCBTF
    w ॳظͷֶशίετͷ௿͕͞ϐΧΠν
    w "NQMJGZ
    w ͪ͜Β΋؆୯Ͱ͸͋Δ΋ͷͷɺબ୒ࢶ͕ଟͯ͘໎͏͜ͱଟ͍
    ͔΋
    έʔε
    ɹϑϩϯτɺόοΫΤϯυͱ΋ʹ͋Δఔ౓஌ࣝ͸͋Δ
    ɹ͋ͱͰͲ͏ͤͭ͘Γͳ͓͔͢ΒͱΓ͋͑ͣ.71ͭ͘Γ͍ͨ

    View full-size slide

  18. ݸਓతʹߟ͑Δ௒ͬ͘͟Γ'JSFCBTF"NQMJGZͷ࢖͍෼͚
    w "NQMJGZҰ୒͔ͳ
    w 'JSFCBTF 'JSFCBTFGVODUJPOT

    w /PEF ܥ
    ͷΈ
    w "NQMJGZ -BNCEB

    w /PEFɺ1ZUIPOɺ3VCZɺ+BWBɺ/&5౳͕બ୒Մೳ
    έʔε
    ɹόοΫΤϯυͰ/PEFKTҎ֎Λ࢖͍͍ͨ

    View full-size slide

  19. ݸਓతʹߟ͑Δ௒ͬ͘͟Γ'JSFCBTF"NQMJGZͷ࢖͍෼͚
    w "NQMJGZҰ୒͔ͳ
    w 'JSFCBTF
    w BQPMMP࢖͑͹Ͱ͖Δʹ͸Ͱ͖Δ
    w "NQMJGZ
    w ϙνϙν΍Ε͹0, ࠷௿ݶͷ࢓૊ΈͳΒ

    έʔε
    ɹ(SBQI2-Λ࢖͍͍ͨ

    View full-size slide

  20. ݸਓతʹߟ͑Δ௒ͬ͘͟Γ'JSFCBTF"NQMJGZͷ࢖͍෼͚
    w "NQMJGZҰ୒͔ͳ
    w 'JSFCBTF
    w Ͱ͖ͳ͍͜ͱ͸ͳ͍͚Ͳ݁ߏ໘౗
    w "NQMJGZ
    w (SBQI2-ͱ5ZQF4DSJQUͷ૬ੑൈ܈
    έʔε
    ɹ5ZQF4DSJQUͰܕΛ͚͍ͭͨ

    View full-size slide

  21. ݸਓతʹߟ͑Δ௒ͬ͘͟Γ'JSFCBTF"NQMJGZͷ࢖͍෼͚
    w ͲͪΒ͔ͱݴ͑͹'JSFCBTF͔ͳ ͪΌΜͱௐ΂ΒΕͯͳ͍Ͱ͢

    w 'JSFCBTF
    w $MPVE'VODUJPOTט·ͤͯରԠՄೳ
    w ৘ใྔ͸"NQMJGZΑΓଟΊ ͳ͸ͣ

    w "NQMJGZ
    w /FTUKT/VYUKT޲͚ͷαϙʔτΛ௥Ճ

    έʔε
    ɹ443͍ͨ͠

    View full-size slide

  22. ݸਓతʹߟ͑Δ௒ͬ͘͟Γ'JSFCBTF"NQMJGZͷ࢖͍෼͚
    w ϊʔίϝϯτ
    έʔε
    ɹத௕ظతͳࢹ఺Ͱຊ൪αʔϏεӡ༻͍ͨ͠

    View full-size slide

  23. ௒ͬ͘͟Γࢀߟ৘ใ

    View full-size slide

  24. ௒ͬ͘͟Γࢀߟ৘ใ
    w "NQMJGZͷײಈΛखܰʹମݧ͢ΔͳΒ͜Ε ˞͓͢͢Ίʂʂʂ

    w IUUQTBXTBNB[PODPNKQHFUUJOHTUBSUFEIBOETPOCVJMESFBDUBQQBNQMJGZ
    HSBQIRM
    w 3FBDUͰ5P%PΞϓϦΛͭ͘Δαϯϓϧ
    w ެ͔ࣜΒग़͍ͯΔ΋ͷ͕ͩ ΄ͱΜͲ
    ͜ͷ௨Γ΍Ε͹ΞϓϦΛͭ͘ΕΔ
    w ͥͻ΍ͬͯΈͯ௖͖͍ͨ
    w 'JSFCBTFͱ"NQMJGZͷൺֱͰࢀߟʹͤͯ͞௖͍ͨαΠτ
    w "NQMJGZWT'JSFCBTFൺֱͯ͠Έͨ2JJUB
    w 'JSFCBTFWT"848IJDIJTSJHIUGPSZPVSBQQQSPKFDUJO &NCFS4PGUXBSF
    w "84"NQMJGZ74(PPHMF'JSFCBTF 8IJDIJT#FUUFS c.JUSBJT#MPH
    w "84"NQMJGZWT'JSFCBTFc#BDL"QQ#MPH
    w ೥͸'JSFCBTFΛ࢖͚ͬͨͲ೥͸"84"NQMJGZΛ࢖͓͏ͱࢥ͏"84
    "NQMJGZLZPUPKT
    w (PPHMF'JSFCBTFͱ"84"NQMJGZͷ྆ํΛ࢖ͬͯΈͨײ૝৽͍͜͠ͱʹ͸΢ΣϧΧ
    Ϝ

    View full-size slide

  25. "NQMJGZʹ৮ΕͯΈͯ
    ೥ऑ'JSFCBTFΛ࢖ͬͯ։ൃΛͨ͜͠ͱ͕͋ͬͨɺ͔ͭ(SBQI2-
    Λগ͠৮ͬͨ͜ͱ΋͋ͬͨͷͰࠓճ͸"NQMJGZʹয఺Λ౰ͯͯগ͠
    ৮ͬͯΈ·͕ͨ͠ɺ'JSFCBTFʹॳΊͯ৮Εͨ࣌ͱಉ͘͡Β͍ɺ͍΍
    ͦΕҎ্ʹ"NQMJGZʹײಈ͠·ͨ͠ɻ
    ಛʹϗεςΟϯάͱ(SBQI2-ͷख͕ܰ͞ૉ੖Β͔ͬͨ͠Ͱ͢ɻ
    ͨͩɺ'JSFCBTFɺ"NQMJGZͱ΋ʹॳ৺ऀϨϕϧͰͷײ૝ͷͨΊࠓޙ
    ஌ࣝΛਂΊͯຊ൪ӡ༻ͯ͠Έͨ஌ݟͳΜ͔΋ڞ༗͍͚ͯͨ͠Βͳͱ
    ࢥ͍ͬͯ·͢ɻ

    View full-size slide

  26. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠🙇

    View full-size slide