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

機材管理ツールをFirebaseで構築しようとした話 / Building equipment...

Yusei Yamanaka
September 13, 2018

機材管理ツールをFirebaseで構築しようとした話 / Building equipment management software with Firebase

Yusei Yamanaka

September 13, 2018
Tweet

More Decks by Yusei Yamanaka

Other Decks in Technology

Transcript

  1. ػࡐ؅ཧͷ՝୊ղܾํ๏ ‎ ػࡐ͕୭ͷ΋ͷͳͷ͔͕෼͔Βͳ͍  ‎ ػࡐΛ͍ͭ࢖͔͕ͬͨ෼͔Βͳ͍ ‎ ୭͔ʹିͯ͠͠͹Βͨ͘͠ޙʹͦͷػࡐ͕Ͳ͜ʹ͋Δͷ͔෼͔Βͳ͍ ‎ ػࡐʹ͸Կ͕ηοτͰೖ͍ͬͯΔͷ͔෼͔Βͳ͍

    ‎ ػࡐʹ23ίʔυΛ෇͚ͯɺಡΈऔΔͱ8FCϖʔδ͕දࣔ͞ΕΔ ‎ ͭͷػࡐʹԿͷػࡐ͕ಉࠝ͞Ε͍ͯΔ͔ΛσʔλԽ͢Δ ‎ ػࡐΛ࢖͏࣌ʹɺ23ίʔυΛಡΈࠐΉ͜ͱͰ࢖༻ཤྺΛ؅ཧ͢Δ ‎ 23ίʔυΛಡΈऔͬͨࡍʹݱࡏͷ৔ॴΛه࿥͢Δ
  2. "OESPJEΞϓϦͱ8FCαΠτ ‎ ػࡐΛ؅ཧ͢Δਓ͕࢖͏ͨΊͷ"OESPJEΞϓϦ ‎ 23ίʔυͷεΩϟϯ ‎ ػࡐͷ௥Ճฤू  ‎ ػࡐλάͷ23ίʔυΛεΩϟϯͨ࣌͠ʹ։͘8FCαΠτ

    ‎ खೖྗ΋Ͱ͖ΔΑ͏ʹ୹͍63-Λൃߦ͢ΔʢγϣʔτΧοτʣ ‎ ػࡐͷৄࡉͷ֬ೝ ‎ ΞϓϦΛ͍࣋ͬͯͳ͍ਓͰ΋࢖͑Δ ‎ ฆࣦ࣌ʹ23ίʔυ͔Β࿈བྷઌΛ஌Δ͜ͱ͕Ͱ͖Δ
  3. σʔλߏ଄ ‎ ෳ਺ͷάϧʔϓͰར༻Ͱ͖ΔΑ͏ͳߏ଄ʹ͢Δ ‎ γϣʔτΧοτ͸શάϧʔϓͰڞ௨ͱ͢Δ  /groups/{group} /addresses /equipments /scans

    /tags /shortcuts/{code} /users/{id} ‐Ϣʔβʔ ‐ػࡐͷอ؅৔ॴ ‐ػࡐ ‐ػࡐͷεΩϟϯཤྺ ‐λάϦετ ‐γϣʔτΧοτίʔυ ‐σόΠε /devices/{id} ‐άϧʔϓ
  4. "OESPJEΞϓϦ  // Lombok compileOnly 'org.projectlombok:lombok:1.16.22' annotationProcessor "org.projectlombok:lombok:1.16.22" // ZXing

    implementation 'com.journeyapps:zxing-android-embedded:3.6.0' // Firestore implementation 'com.google.firebase:firebase-firestore:17.0.1' implementation 'com.google.firebase:firebase-storage:16.0.1' // FirebaseUI (for authentication) implementation 'com.firebaseui:firebase-ui-auth:4.0.0' // Other Firebase/Play services deps implementation 'com.google.firebase:firebase-core:16.0.0' implementation 'com.google.firebase:firebase-auth:16.0.1' implementation 'com.google.android.gms:play-services-auth:15.0.1' // Butterknife implementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' // Glide implementation 'com.github.bumptech.glide:glide:4.7.1' annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1' // Tag implementation 'me.gujun.android.taggroup:library:1.4@aar' ࢖༻ͨ͠ओͳϥΠϒϥϦ
  5. ͭ·͍ͣͨͱ͜Ζ ‎ 'JSFTUPSFͷ3VMF4JNVMBUPS͕3FGFSFODFΛ͏·͘ѻ͑ͳ͍ʜʁ ‎ Ϣʔβʔ͕ॴଐ͍ͯ͠ΔάϧʔϓͷΈɺಡΈॻ͖ͷݖݶΛ༩͍͑ͨ  TFSWJDFDMPVEpSFTUPSF\ NBUDIEBUBCBTFT\EBUBCBTF^EPDVNFOUT\ ʜ NBUDIHSPVQT\HSPVQ^\

    BMMPXSFBE VQEBUF EFMFUF JGSFRVFTUBVUIVJEOVMMEBUBCBTFT EBUBCBTF EPDVNFOUTHSPVQT HSPVQ JO HFU EBUBCBTFT EBUBCBTF EPDVNFOUTVTFST SFRVFTUBVUIVJE EBUBCFMPOHJOH(SPVQT ʜ ‎ ࣮ࡍͷϦΫΤετ͸͏·͘ಈ͚͘ͲγϛϡϨʔλʔ͚ͩಈ͔ͳ͍ʜʁ