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

最近注目のFirebaseについて

5695b2cac969a2d2204e727c82cbde1d?s=47 matsnow
October 30, 2016

 最近注目のFirebaseについて

社内勉強会のLTでFirebaseについて紹介した時の資料です。

5695b2cac969a2d2204e727c82cbde1d?s=128

matsnow

October 30, 2016
Tweet

Transcript

  1. ࠷ۙ஫໨ͷFirebaseʹ͍ͭͯ

  2. Firebaseͱ͸

  3. Google͕ग़͖ͯͨ͠ αʔόϨεΞʔΩςΫνϟ (ϞόΠϧʹॏ఺) ී௨ͷWebΞϓϦͰ΋࢖͑·͢

  4. None
  5. ಛ௃

  6. ؆୯ͳಛ௃આ໌ • ϦΞϧλΠϜDB΍ೝূػೳɺϗεςΟϯάͷɹ ࢓૊ΈΛఏڙɻ • εϚϗΞϓϦͷA/Bςετ΍৭Μͳ୺຤Ͱͷɹ ςετΛࢧԉɻ • Googleݕࡧ݁ՌʹΞϓϦ͕ग़ͯ͘ΔΑ͏ʹͰ ͖ͨΓɺΞϓϦͷ࢖ΘΕํΛଌఆͰ͖Δɻɹɹ

    (GAͷΞϓϦ൛Έ͍ͨͳ΋ͷ)
  7. ҰݴͰݴ͏ͱ ΞϓϦͷ։ൃ͔ΒϚωλΠζ·Ͱ αϙʔτͯ͘͠ΕΔҰେϓϥοτϑΥʔϜ

  8. ྑ͍ͱ͜Ζ

  9. ྑ͍ͱ͜Ζ • σʔλͷऩूɾ෼ੳͳͲΛ΍ͬͯ͘ΕΔɻɹ (ͨͩ͠εϚϗΞϓϦ͚ͩ) • DB΍ೝূͳͲɺαʔόଆͷ͋Ε͜ΕΛ࠷ॳ͔ Β༻ҙͯ͘͠Ε͍ͯΔɻ • ϦΞϧλΠϜDB͕ྑ͍ײ͡ɻ

  10. ϦΞϧλΠϜDBͱ͸ • JSONܗࣜͰද͞ΕΔNoSQLͷDB • ωοτϫʔΫʹܨ͕͍ͬͯͳ͍࣌΋ɺɹɹɹɹ ΦϑϥΠϯͰ͏·͘ಈ͍ͯ͘ΕΔ(ϥΠϒϥϦ͕) • ͦͷ͋ͱɺΦϯϥΠϯʹͳͬͨΒΫϥ΢υଆͱ ಉظͯ͘͠ΕΔɻ(GitͷϩʔΧϧίϛοτͱpull/ pushͱಉ͡Πϝʔδ)

  11. None
  12. ࢖͍ํ (WebΞϓϦͷ৔߹)

  13. 1. μογϡϘʔυͰ ϓϩδΣΫτΛ࡞Γ·͢ɻ

  14. 2.ʮ΢ΣϒΞϓϦʹFirebaseΛ ௥ՃʯΛબ୒͠·͢ɻ ͜Ε

  15. ̏. දࣔ͞ΕͨҎԼͷίʔυΛ HTMLʹషΓ෇͚·͢ɻ

  16. ɹɹಋೖ׬(࠷௿ݶ) ͋ͱ͸֤छAPIΛݺͼग़͚ͩ͢

  17. API͸৭ʑ ༻ҙ͞Εͯ ͍·͢ɻ

  18. 30෼͙Β͍Ͱ ࡞ΕΔνϡʔτ ϦΞϧ΋༗ɻ

  19. σϓϩΠ΋؆୯ $ npm install -g firebase-tools $ firebase login $

    firebase init $ firebase deploy i deploying database, hosting ✔ database: rules ready to deploy. i hosting: preparing public directory for upload... ✔ hosting: public folder uploaded successfully ✔ hosting: 2 files uploaded successfully i starting release process (may take several minutes)... ✔ Deploy complete!
  20. ࣮ࡍͷը໘

  21. 1ΤϯδχΞͱͯ͠͸ةػײΛ ֮͑Δͱ͜Ζɻɻɻ ͲΜͲΜ࡞Βͳͯ͘ྑ͘ͳͬͯ͘ΔͷͰɺ த్൒୺ͳεΩϧͩͱෆཁʹͳΔɻ

  22. TensorFlowΈ͍ͨʹ ͜Ε͔Βདྷͦ͏ͳͷͰ΢Υον͍͖ͯ͠·͢ɻ (Ϣʔβʔάϧʔϓ΋·ͩແ͍Β͍͠)

  23. ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠