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

firebase-meetup.pdf

shogo.yamada
December 10, 2018
700

 firebase-meetup.pdf

shogo.yamada

December 10, 2018
Tweet

Transcript

  1. Copyright © ZOZO Technologies, Inc. All Rights Reserved. גࣜձࣾ;0;0ςΫϊϩδʔζ ։ൃ෦

    ࢁాঘޗ 'MVUUFSͱ'JSFCBTFΛ࢖ͬͯര ଎։ൃΛ࣮ݱ͢Δ
  2. ϓϩϑΟʔϧ 5XJUUFS ;0;0ςΫϊϩδʔζ ։ൃ෦ ࢁాঘޗ Copyright © ZOZO Technologies, Inc.

    All Rights Reserved. !ZTIPHP (JUIVC !ZTIPHP 'MVUUFS৘ใൃ৴ϒϩάʮދࢹᚳʑͱʯ IUUQTXXXTIPHPHFFLDPN
  3. Copyright © ZOZO Technologies, Inc. All Rights Reserved. ˓೔ຊ࠷େڃͷϑΝογϣϯγϣοϐϯάαΠτΞϓϦ ˓

    Ҏ্ͷγϣοϓɺ Ҏ্ͷϒϥϯυͷऔΓѻ͍ʢ ೥݄຤࣌఺ʣ ˓ৗ࣌ສ఺Ҏ্ͷ঎඼ΞΠςϜ਺ͱຖ೔ฏۉ ఺Ҏ্ͷ৽ண঎ ඼Λܝࡌ ˓ଈ೔഑ૹαʔϏεΪϑτϥοϐϯάαʔϏεπέ෷͍ͳͲ IUUQ[P[PKQ
  4. Copyright © ZOZO Technologies, Inc. All Rights Reserved. ˓೔ຊ࠷େڃͷϑΝογϣϯίʔσΟωʔτΞϓϦ ˓

    ສμ΢ϯϩʔυಥഁɺίʔσΟωʔτ౤ߘ૯਺͸ສ݅Ҏ ্ʢͱ΋ʹ೥݄຤࣌఺ʣ ˓શੈքʢ"QQ4UPSF(PPHMFQMBZ͕ར༻ՄೳͳશͯͷࠃʣͰμ ΢ϯϩʔυ͕Մೳ ˓ສਓҎ্ͷϑΥϩϫʔΛ࣋ͭϢʔβʔʢ8&"3*45"ʣ΋஀ੜ IUUQTXFBSKQ
  5. Copyright © ZOZO Technologies, Inc. All Rights Reserved. ˓౰͕ࣾಠࣗʹ։ൃͨ͠࠾ੇ༻ϘσΟʔεʔπ ˓શମʹࢪ͞ΕͨυοτϚʔΧʔΛεϚʔτϑΥϯΧϝϥͰ౓ࡱ

    Ө͢Δ͜ͱͰɺମܕσʔλΛܭଌ ˓ܭଌͨ͠ମܕσʔλ͸ɺॠ࣌ʹ%ϞσϧԽ͞Εɺ;0;0508/Ξ ϓϦʹอଘɻ%Ϟσϧ͸͋ΒΏΔ֯౓ʹಈ͔͢͜ͱ͕Ͱ͖ɺମܕΛ ౓νΣοΫ͢Δ͜ͱ͕Մೳ IUUQ[P[PKQ[P[PTVJU
  6. Copyright © ZOZO Technologies, Inc. All Rights Reserved. ˓ʮ;0;046*5ʯͰܭଌͨ͠ମܕσʔλΛ΋ͱʹɺҰਓͻͱΓͷମ ܕʹ߹ͬͨʮ͋ͳͨαΠζʯͷΞΠςϜ

    ˓ʮڀۃͷϑΟοτײʯΛ࣮ݱͨ͠ϕʔγοΫΞΠςϜΛఏڙ άϩʔόϧαΠτʮ;0;0DPNʯͰւ֎ల։ ˓ΞΠςϜ̩γϟπɺσχϜύϯπɺγϟπɺϏδωεεʔπɺ ωΫλΠɺϘʔμʔ̩γϟπɺ௕କΫϧʔωοΫ̩γϟπͳͲ IUUQ[P[PKQQC
  7. ࿩͢͜ͱ Copyright © ZOZO Technologies, Inc. All Rights Reserved. ɾ'MVUUFSͱ͸

    ɾ࡞ͬͨ΋ͷ ɾ։ൃظؒ ɾνϟοτػೳཁ݅ ɾ'MVUUFSͰͷ࣮૷ํ๏ ɾ'JSFCBTFͱ'MVUUFS͸૬ੑൈ܈ ɾ·ͱΊ
  8. νϟοτػೳཁ݅ Copyright © ZOZO Technologies, Inc. All Rights Reserved. ɾϝοηʔδ͸ϦΞϧλΠϜͰը໘ʹ൓ө͢Δ

    ɾϝοηʔδ͕དྷͨΒ1VTI௨஌Λଧͭ ɾϢʔβʔ؅ཧΛ͢Δ ɾະಡ਺͸ͪΌΜͱදࣔ͢Δ ɾJ04ͱ"OESPJEʹରԠ͍ͯ͠Δ ɾFUD
  9. νϟοτػೳཁ݅ Copyright © ZOZO Technologies, Inc. All Rights Reserved. ɾϝοηʔδ͸ϦΞϧλΠϜͰը໘ʹ൓ө͢Δˠ$MPVE'JSFTUPSF

    ɾϝοηʔδ͕དྷͨΒ1VTI௨஌Λଧͭ ˠ$MPVE'VODUJPOT 'JSFCBTF.FTTBHJOH ɾϢʔβʔ؅ཧΛ͢Δˠ'JSFCBTF"VUIFOUJDBUF ɾະಡ਺͸ͪΌΜͱදࣔ͢Δˠ$MPVE'JSFTUPSF ɾJ04ͱ"OESPJEʹରԠ͍ͯ͠Δˠ'MVUUFSͰղܾ
  10. ࣮૷ Copyright © ZOZO Technologies, Inc. All Rights Reserved. Future<void>

    postMessage(String groupId, String uid, String message, int type) async { return await Firestore.instance .collection("group") .document(groupId) .collection("message") .add({ "uid": uid, "message": message, "type": type, "created_at": FieldValue.serverTimestamp(), }); }
  11. 'JSFCBTFͱ'MVUUFS͸૬ੑൈ܈ Copyright © ZOZO Technologies, Inc. All Rights Reserved. ɾΫϩεϓϥοτϑΥʔϜ

    J04ɺ"OESPJE  ɾΞϓϦʹඞཁʹͳΔػೳ͸શ෦'JSFCBTFͰͰ͖Δ ɾ͔͠΋྆ํ(PPHMF͕։ൃͯ͠Δ҆৺ײ ✖