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

SaaS.tech #1 / SmartHR

sugamasao
March 16, 2022

SaaS.tech #1 / SmartHR

SaaS.tech #1 SmartHRの事例紹介です
https://saas-tech.connpass.com/event/239175/

当日の動画はこちら
https://www.youtube.com/watch?v=YJ6Uv6cUFdM

sugamasao

March 16, 2022
Tweet

More Decks by sugamasao

Other Decks in Technology

Transcript

  1. CONFIDENTIAL
    ΞϓϦέʔγϣϯ͕େ͖ͯ͘
    ͭΒ͍ʜͬͯίτʂʁ
    5VF4BB4UFDI
    ͕͢ΘΒ·͞ͷΓ
    4NBSU)3ϓϩμΫτΤϯδχΞ

    View full-size slide

  2. CONFIDENTIAL

    View full-size slide

  3. CONFIDENTIAL
    ࣗݾ঺հ
    ͕͢ΘΒ·͞ͷΓ !TVHBNBTBP

    ɾ4NBSU)3ʢʙʣ
    ɾϓϩμΫταΠυΤϯδχΞ
    ɾ4NBSU)3ຊମͱݺ͹ΕΔΞϓϦέʔγϣϯͷ։ൃʹैࣄ
    ɾΑΓνʔϑͱͯ͠νʔϜϝϯόʔͷϚωδϝϯτ
    ΋ͭͭ͠ϓϨΠϠʔͱͯ͠։ൃΛߦ͏

    View full-size slide

  4. CONFIDENTIAL
    झຯͰॻ੶ͷࣥචΛগʑ
    ˞ڞஶɾ୯ஶؚΉ
    BNB[POஶऀηϯτϥϧΑΓҾ༻

    View full-size slide

  5. ΑΖ͓͘͠Ͷ͕͍
    ͠·͢

    View full-size slide

  6. CONFIDENTIAL
    ࠷ॳʹ4NBSU)3ʹ͍ͭͯ؆୯
    ʹ঺հ͍ͤͯͩ͘͞͞👀

    View full-size slide

  7. CONFIDENTIAL

    View full-size slide

  8. CONFIDENTIAL
    IUUQTTQFBLFSEFDLDPNNJZBTIPXFBSFIJSJOH

    View full-size slide

  9. CONFIDENTIAL
    IUUQTTQFBLFSEFDLDPNNJZBTIPXFBSFIJSJOH

    View full-size slide

  10. CONFIDENTIAL
    IUUQTTQFBLFSEFDLDPNNJZBTIPXFBSFIJSJOH

    View full-size slide

  11. CONFIDENTIAL
    IUUQTTQFBLFSEFDLDPNNJZBTIPXFBSFIJSJOH

    View full-size slide

  12. CONFIDENTIAL
    IUUQTTQFBLFSEFDLDPNNJZBTIPXFBSFIJSJOH

    View full-size slide

  13. CONFIDENTIAL
    IUUQTUFDITNBSUISKQFOUSZ

    View full-size slide

  14. ɾ4NBSU)3Ͱ͸ਓࣄσʔλΛஷΊ͍ͯ·͢
    ɾʮຊମʯͱݺ͹ΕΔΞϓϦέʔγϣϯ͕͋Γ·͢
    ɾʮ1MVTΞϓϦʯͱݺ͹ΕΔΞϓϦέʔγϣϯ͕͋Γ·͢
    ɾʮຊମʯͱʮ1MVTΞϓϦʯ͸)551௨৴Ͱ΍ΓͱΓͯ͠
    ͍·͢ʢΞϓϦέʔγϣϯؒͷ%#ڞ༗͸φγ🙅ʣ
    CONFIDENTIAL

    View full-size slide

  15. CONFIDENTIAL
    ࠓճ͓࿩͢͠ΔΞʔΩςΫνϟ
    Ͱ͸4NBSU)3ʮຊମʯʹؔ͠
    ͯ࿩͍͖ͯ͠·͢

    View full-size slide

  16. CONFIDENTIAL
    4NBSU)3ʮຊମʯJT;ͭ͏ͷ
    3BJMTΞϓϦέʔγϣϯ
    ʢͨͩ͠ɺ·͋·͋σΧ͍ʣ

    View full-size slide

  17. ɾίʔυϕʔε͕Ͱ͔͍
    ɾਓࣄσʔλʹؔ͢Δςʔϒϧͷن໛͕Ͱ͔͍
    ɾؔΘΔΤϯδχΞͷਓ਺ͷن໛͕Ͱ͔͍
    CONFIDENTIAL
    ʢ·͋·͋ʣͰ͔͍ࡾॐ࢜

    View full-size slide

  18. ίʔυϕʔε͕Ͱ͔͍
    CONFIDENTIAL
    ࡶʹASBJMTTUBUTAͨ݁͠Ռ
    +----------------------+--------+--------+---------+---------+-----+-------+


    | Name | Lines | LOC | Classes | Methods | M/C | LOC/M |


    +----------------------+--------+--------+---------+---------+-----+-------+


    | Controllers | 30108 | 23375 | 596 | 2448 | 4 | 7 |


    | Helpers | 790 | 643 | 0 | 82 | 0 | 5 |


    | Models | 50760 | 40649 | 664 | 2851 | 4 | 12 |


    | Mailers | 435 | 349 | 15 | 36 | 2 | 7 |


    | JavaScripts | 28862 | 26 | 0 | 1 | 0 | 24 |


    | Libraries | 6344 | 5231 | 37 | 167 | 4 | 29 |


    | APIs | 10502 | 9186 | 136 | 257 | 1 | 33 |


    :


    :


    +----------------------+--------+--------+---------+---------+-----+-------+


    | Total | 500857 | 384867 | 1484 | 6162 | 4 | 60 |


    +----------------------+--------+--------+---------+---------+-----+-------+


    Code LOC: 79459 Test LOC: 305408 Code to Test Ratio: 1:3.8


    View full-size slide

  19. ਓࣄσʔλʹؔ͢Δςʔϒϧͷن໛͕Ͱ͔͍
    CONFIDENTIAL
    ਓࣄσʔλʹؔ͢ΔςʔϒϧΛࡶʹ਺͑ͨײ͡ɺݸҎ্
    ʢશςʔϒϧ਺తʹ͍͏ͱҎ্͋Δʣ
    ˞͞Βʹ#J5FNQPSBM%BUB.PEFMΛ࠾༻͍ͯ͠ΔͨΊݟ
    ͔͚ΑΓෳࡶʹͳΓ͕ͪ
    ࢀߟIUUQTTQFBLFSEFDLDPNGJNQMFNFOUJOHDPNNBOEIJTUPSZBOEUFNQPSBMBDDFTT

    View full-size slide

  20. ؔΘΔΤϯδχΞͷਓ਺ͷن໛͕Ͱ͔͍
    CONFIDENTIAL
    4NBSU)3ຊମͷ։ൃʹ௚઀ؔΘ͍ͬͯΔ
    ΤϯδχΞ͚ͩͰ໊ఔ౓͍Δ

    View full-size slide

  21. CONFIDENTIAL
    େ͖ͯͭ͘Β͍

    View full-size slide

  22. CONFIDENTIAL
    ·ͩ·ͩ։ൃ͍ͨ͠ػೳ͸੝Γ
    ͩ͘͞Μ

    View full-size slide

  23. CONFIDENTIAL
    ࠓޙɺ͜ͷ··ͷϖʔεͰ
    ૸͍͚ͬͯΔͷ͔ʜʜʁ

    View full-size slide

  24. CONFIDENTIAL
    1SPT
    ී௨ͷ3BJMTͰ΋͜ͷن໛·ͰͳΜͱ͔ͳΔ
    $POT
    େ͖ͯͭ͘Β͍ʢ։ൃ଎౓ݒ೦ʣ

    View full-size slide

  25. CONFIDENTIAL
    େ͖ͯͭ͘Β͍ʹରͯ͠4NBSU)3
    ͕ͲͷΑ͏ͳΞϓϩʔνΛͱΖ͏
    ͱ͍ͯ͠Δ͔ͷࣄྫ঺հ

    View full-size slide

  26. ΞʔΩςΫνϟ௕ظ໨ઢͰ
    ݕ౼͢Δձͷൃ଍🏃

    View full-size slide

  27. ·ͣ͸Կ͕໰୊ͳͷ͔Λൃࢄͤ͞Δ
    CONFIDENTIAL

    View full-size slide

  28. ʮͭΒ͍ʯͱײ͍ͯ͡Δ͜ͱ͕
    ʮ͜͏ͩͬͨΒྑ͍ͳ͋ʯΛ͋͛ͯΈΔ
    CONFIDENTIAL

    View full-size slide

  29. ʮͭΒ͍ʯͱײ͍ͯ͡Δ͜ͱ͕
    ʮ͜͏ͩͬͨΒྑ͍ͳ͋ʯΛ͋͛ͯΈΔ
    CONFIDENTIAL
    ˞#5%.JT#J5FNQPSBM%BUB.PEFM

    View full-size slide

  30. ͳΜͱͳ͘ɺʮͭΒ͍ʯ໰୊ͷํ޲
    ੑ͕ݟ͖͑ͯͨ💡
    CONFIDENTIAL

    View full-size slide

  31. ໰୊ͷํ޲ੑΛҙࣝ͠ͳ͕Βɺ࠶౓
    ݕ౼
    CONFIDENTIAL

    View full-size slide

  32. ͜͏ͩͬͨΒྑ͍ͳ͋UBLF
    CONFIDENTIAL

    View full-size slide

  33. CONFIDENTIAL
    େ͖ͯͭ͘Β͍

    View full-size slide

  34. ͜͏ͩͬͨΒྑ͍ͳ͋UBLF
    CONFIDENTIAL
    ʮେ͖ͯͭ͘Β͍ʯҰྫ

    View full-size slide

  35. ͜͏ͩͬͨΒྑ͍ͳ͋UBLF
    CONFIDENTIAL
    ʮ͜͏ͩͬͨΒྑ͍ͳ͋ʯҰྫ

    View full-size slide

  36. ͜͏ͩͬͨΒྑ͍ͳ͋UBLF
    CONFIDENTIAL
    ʮ͜͏ͩͬͨΒྑ͍ͳ͋ʯͷݕ౼

    View full-size slide

  37. ͜͜·ͰΤϯδχΞ͚ͩͰ࿩ΛਐΊͯ
    ͍͚ͨΕͲɺίΞػೳɾࠓޙͷ։ൃํ਑
    ͳͲΛࢹ໺ʹೖΕΔͨΊ1.ਞʹ΋ࢀՃ
    ͯ͠΋Β͏🏃💨
    CONFIDENTIAL

    View full-size slide

  38. 1.ਞ΋ަ͑ͯɺΞϓϦέʔγϣϯͷί
    Ξػೳͱ͸Կ͔ɺͦΕҎ֎ͳΒ੾Γग़
    ͤΔͷ͔ʁਤʹͯ͠੔ཧͨ݁͠Ռʜʜ
    CONFIDENTIAL

    View full-size slide

  39. Կ͕ʮίΞػೳʯͳΜ͚ͩͬʁͱ͍͏
    Ұఆͷڞ௨ೝࣝΛಘΔ͜ͱ͕Ͱ͖ͨ🤗
    CONFIDENTIAL

    View full-size slide

  40. CONFIDENTIAL
    ʮίΞػೳʯ͸Θ͔ͬͨ
    ʮͦΕҎ֎ͷػೳʯ΋ݟ͖͑ͯͨ

    View full-size slide

  41. CONFIDENTIAL
    ʮେ͖͍ͭΒ͍ʯˠʮখͯ͘͞͏Ε͍͠ʯ
    ͱ͍͏ແअؾͳൃ૝Ͱ͸೉ͦ͠͏😔

    View full-size slide

  42. CONFIDENTIAL
    Ͱ͸ਓ਺΍ίʔυ͕૿͑ͯ΋։ൃ଎౓Λ
    མͱͣ͞εέʔϧͰ͖Δํ๏͸ͳ͍͔
    ΋͏Ұ౓ߟ͑ͯΈΑ͏ʂ

    View full-size slide

  43. CONFIDENTIAL
    ʮ͍·ʯ੾Γग़͢λΠϛϯά
    ͡Όͳ͍͚ͲɺͦΕΛݟਾ͑ͨϦ
    ϑΝΫλϦϯά͸ʮ͍·ʯͰ΋
    ޮՌ͋Γͦ͏💡

    View full-size slide

  44. CONFIDENTIAL
    ͜͜·Ͱͷݕ౼݁ՌΛ౿·͑ͯɺҰ౓݁
    ࿦Λग़ͯ͠ΈΔ

    View full-size slide

  45. CONFIDENTIAL
    ͜͜·Ͱͷ·ͱΊ
    ɾϚΠΫϩαʔϏεʹ੾Γग़͢ͷ͸ʮ͍·ʯͰ͸ͳͦ͞͏
    ɾࠓޙΛݟਾ͑ͯϦϑΝΫλϦϯάΛ΍ΔՁ஋͸͋Γͦ͏
    ɾϞδϡϥʔϞϊϦεʹເΛݟͯ΋ΠΠΜͰ͔͢ʁ

    View full-size slide

  46. CONFIDENTIAL
    ϦϑΝΫλϦϯάͲ͏ਐΊΑ͏໰୊

    View full-size slide

  47. CONFIDENTIAL
    ϦϑΝΫλϦϯάͲ͏ਐΊΑ͏໰୊
    ɾղܾ͍ͨ͠λω͸͜͜·ͰͷऔΓ૊ΈͰग़͍ͯΔ
    ɾͰ͸ޮՌతͳ΋ͷ͸Կ͔ʁ
    ɾΤϯδχΞతͳ؍఺͚ͩͰ͸ͳ͘ɺ͓໰͍߹ΘͤΛݮΒͤΔ
    ͱ͔த௕ظతͳ։ൃ಺༰ʹͭͳ͕Δ͔ɺͳͲͷ؍఺΋ؚΊͯݕ

    View full-size slide

  48. CONFIDENTIAL
    ϦϑΝΫλϦϯάͲ͏ਐΊΑ͏໰୊
    ɾ֤ϦϑΝΫλϦϯάީิʹରͯ͠ɺͬ͘͟Γͷίετײͱղ
    ܾͨ͠ͱ͖ͷخ͠͞ΛϚοϐϯάͯ͠༏ઌ౓ΛܾΊΔ
    ɾίετײ͕গͳͯ͘خ͍͠΍ͭ͸͓ಘΞΠςϜͳͷͰ༏ઌ͠
    ͯ΍Γ͍ͨʢͱ͍͏ࢥ࿭ʣ

    View full-size slide

  49. ͓ಘ
    ͭΒ͍
    CONFIDENTIAL
    ϦϑΝΫλϦϯάͲ͏ਐΊΑ͏໰୊
    རӹͱίετ͸େମݟ߹͍ͬͯ·ͨ͠😭

    View full-size slide

  50. ͓ಘ
    ͭΒ͍
    CONFIDENTIAL
    ϦϑΝΫλϦϯάͲ͏ਐΊΑ͏໰୊
    Ϧιʔε΍λΠϛϯάΛݟͯ஍ಓʹ΍͍ͬͯ͜͏ͳʜʜ

    View full-size slide

  51. CONFIDENTIAL
    ϞδϡϥʔϞϊϦεʹເΛݟͯ΋ΠΠΜͰ͔͢ʁ

    View full-size slide

  52. CONFIDENTIAL
    ϞδϡϥʔϞϊϦεʹເΛݟͯ΋ΠΠΜͰ͔͢ʁ
    ɾσϓϩΠ୯Ґ͕ͭͷΞϓϦέʔγϣϯ
    ɾ͋ΔػೳʢίϯςΩετʣ୯ҐͰϞδϡʔϧͷڥքΛ෼͚Δ
    ɾӽڥ͢ΔͨΊʹ͸͓ޓ͍ͷެ։"1*Λհ͢Δʢ͜ͱͰґଘؔ
    ܎Λ໌Β͔ʹ͢Δʣ

    View full-size slide

  53. CONFIDENTIAL
    ϞδϡϥʔϞϊϦεʹເΛݟͯ΋ΠΠΜͰ͔͢ʁ
    ɾ4IPQJGZͷࣄྫΛࢀߟʹΠϝʔδτϨʔχϯά
    ɾ௅ઓͨ࣌͠ʹ΍Γ͖ΕΔ͔ʁ
    ɾίΞػೳ͕େ͖͍ͨΊɺ͓ͦΒͦ͘͜Λ΍Γ੾ΕΔ͔ʁ͕ϙ
    ΠϯτʹͳΓͦ͏
    ɾٯʹɺͦ͜Λ΍Γ͖Εͳ͍ͱେ͖ͳϕωϑΟοτ΋ड͚ΒΕ
    ͳ͍ͷͰ͸ʜʜʁ

    View full-size slide

  54. CONFIDENTIAL
    ϞδϡϥʔϞϊϦεʹເΛݟͯ΋ΠΠΜͰ͔͢ʁ
    ͜ͷ࣌ɺ͍͔ͭ͘ͷاۀ͞·ʹϞδϡϥʔϞϊϦεͷઌߦࣄྫ
    ͱ͓ͯ͠࿩Λ࢕͏͜ͱ͕Ͱ͖·ͨ͠🙇🙇🙇🙇🙇🙇

    View full-size slide

  55. CONFIDENTIAL
    ϞδϡϥʔϞϊϦεʹເΛݟͯ΋ΠΠΜͰ͔͢ʁ
    ɾڥքΛ͔ͬ͠Γ෼͚Δ͜ͱͰґଘؔ܎͕໌֬ʹͳΔϝϦοτ͸ߴͦ͏
    ɾ΍Γ͖Δͷ͸͔ͳΓ୾ྗ͕ඞཁͦ͏
    ɾ 3BJMTͷจ຺ͩͱ
    3BJMT&OHJOFϨϕϧͰ੾Γ෼͚Δ͔ɺαʔϏε૚΍Ϟσ
    ϧ૚ϨϕϧͰίϯϙʔωϯτͱͯ͠෼ׂ͢Δ͔ͱ͍͏ߟ͑ํ͕͋Γͦ͏
    ɾ 3BJMTͷจ຺ͩͱ
    "DUJWF3FDPSE͕༗ೳ͗ͯ͢ѻ͍͕೉͍͠

    View full-size slide

  56. CONFIDENTIAL
    ϞδϡϥʔϞϊϦεʹເΛݟͯ΋ΠΠΜͰ͔͢ʁ
    وॏͳઌߦࣄྫΛ͓࢕͍Ͱ͖ͯͱͯ΋ࢀߟʹͳΓ·ͨ͠
    🙇🙇🙇🙇🙇🙇

    View full-size slide

  57. CONFIDENTIAL
    ϞδϡϥʔϞϊϦεʹເΛݟͯ΋ΠΠΜͰ͔͢ʁ
    ɾΈΜͳࢼߦࡨޡΛ͠ͳ͕ΒਐΊ͍ͯΔΜͩͳ͋ʢͦΕ͸ͦ͏ʣ
    ɾۜͷ஄ؙͰ͸ͳͦ͞͏ʢͦΕ͸ͦ͏ʣ
    ɾ΍Δʹͯ͠΋ɺϦϑΝΫλϦϯάฤͰ্͕ͬͨ΋ͷ͸ղܾͯ͠
    ͔Β͡Όͳ͍ͱͭΒ͍͔΋ʢͦΕ͸ͦ͏ʣ

    View full-size slide

  58. CONFIDENTIAL
    େ͖ͯͭ͘Β͍

    View full-size slide

  59. ɹϚΠΫϩαʔϏε
    ɹϞδϡϥʔϞϊϦε
    👉ϞϊϦγοΫΞϓϦέʔγϣϯ
    ɹʢͷϦϑΝΫλϦϯάؤு͍ͬͯ͜͏ͳʣ
    CONFIDENTIAL

    View full-size slide

  60. ͱ͸͍͑ɺؾ͚࣋ͪͩͰ͸ม͑ΒΕ
    ͳ͍
    CONFIDENTIAL

    View full-size slide

  61. Ͳ͏ϦϑΝΫλϦϯάΛਐΊΔ͔໰୊
    CONFIDENTIAL

    View full-size slide

  62. ɾ͢Ͱʹେ͖Ίͳػೳ։ൃΛ๊͍͑ͯΔνʔϜ
    ʹ࣮ݧతͳ࣮૷ݕূΛλεΫͱͯ͠ೖΕͮΒ͍
    ɾಛఆͷϝϯόʔ͚ͩผλεΫΛͱΔΑ͏ͳख
    ๏͸νʔϜͱͯ͠ಈ͖ʹ͍͘
    CONFIDENTIAL
    Ͳ͏ϦϑΝΫλϦϯάΛਐΊΔ͔໰୊

    View full-size slide

  63. ɾ4DSVNʢ-F44ʣͱ͸ผͷνʔϜΛ୹ظؒ૊੒
    ɾࠓޙͷ։ൃͷ଍ᐫʹͳΓͦ͏ͳ෦෼ͷ੔උ΍
    ϦϑΝΫλϦϯάɺςʔϒϧߏ੒Λมߋ͢ΔͨΊ
    ͷ1P$ΛਐΊΔ
    CONFIDENTIAL
    Ͳ͏ϦϑΝΫλϦϯάΛਐΊΔ͔໰୊

    View full-size slide

  64. େ͖ͯͭ͘Β͍͜ͱΛࢲͨͪͱҰॹʹ
    ղܾ͍ͨ͠ʂͱࢥͬͨํͷԠืΛ
    ଴͍ͬͯ·͢ʂʂ
    IUUQTTNBSUISDPKQSFDSVJU
    CONFIDENTIAL
    8FBSFIJSJOH

    View full-size slide

  65. 🏃💨ϦϑΝΫλϦϯάؤு͍ͬͯ͜͏ͳ🏃💨
    CONFIDENTIAL

    View full-size slide