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

ユースケース駆動開発で自社プロダクトを作ってみた!

大塚真言
December 08, 2021

 ユースケース駆動開発で自社プロダクトを作ってみた!

大塚真言

December 08, 2021
Tweet

More Decks by 大塚真言

Other Decks in Programming

Transcript

  1. Ϣʔεέʔεۦಈ։ൃͰ


    ࣗࣾϓϩμΫτΛ࡞ͬͯΈͨʂ
    2021/12/08


    ߹ಉձࣾϊϚυϦ େ௩

    View full-size slide

  2. ձࣾ঺հ
    ߹ಉձࣾϊϚυϦ
    ૑ۀظ໨
    ϝϯόʔ໊
    8FCडୗ։ൃɾ4&4
    ʢ-BSBWFMɺ7VFKTʣ
    ࣗࣾϓϩμΫτ։ൃ
    िҊ݅ɾिࣗݾֶश

    View full-size slide

  3. Ϣʔεέʔεۦಈ։ൃΛ


    ࠾༻ͨ͠ཧ༝
    • ษڧձͰ஌ΓɺࣗࣾͰ΋࢖ͬͯΈ͍ͨ


    • อकੑ͕ߴ͘ཁٻΛຬͨ͢ίʔυ͕ॻ͖΍͘͢ͳΔͷ͕
    ຊ౰ͳͷ͔͔֬Ί͍ͨ


    • ػೳҰཡɾը໘࢓༷ॻɾDBఆٛॻΛ࡞੒͢Δجຊઃܭ
    ͔Β୤٫͍ͨ͠


    • Ҋ݅ͷಛੑ্ɺฐࣾϝϯόʔ͕ཁ݅ఆٛɾجຊઃܭΛܦ
    ݧ͢Δػձ͕গͳ͍

    View full-size slide

  4. ։ൃͨ͠ϓϩμΫτ

    View full-size slide

  5. ListoreʢϦετΞʣ

    View full-size slide

  6. ListoreʢϦετΞʣ

    View full-size slide

  7. ListoreʢϦετΞʣ

    View full-size slide

  8. ϓϩδΣΫτ֓ཁ
    • ։ൃن໛͸7ਓ݄ʢϑΣʔζ1ϦϦʔε·Ͱʣ


    • ࢖༻ٕज़͸GoɾNext.js


    • ։ൃମ੍͸ฐࣾϝϯόʔ4໊

    +֎෦ސ໰1໊ʢϢʔεέʔεۦಈ։ൃ༗ࣝऀʣ

    View full-size slide

  9. εέδϡʔϧ
    ݄ ݄ ݄ ݄ ݄ ݄
    ཁٻఆٛ
    ɾػೳཁٻ
    ɾυϝΠϯϞσϦϯά
    ɾϢʔεέʔεਤ
    ٕज़બఆ
    ༧උઃܭɾৄࡉઃܭ
    ɾϢʔεέʔεهड़
    ɾϩόετωεਤ
    ɾΫϥεਤ
    ࣮૷
    ɾϑϩϯτϞοΫίʔσΟϯά
    ɾ"1*࣮૷
    ɾϑϩϯτ"1*ܨ͗͜Έ
    ɾσβΠϯίʔσΟϯά
    ɾ݁߹ςετ
    ɾϦϦʔε
    ɾ%%%ϦϑΝΫλϦϯά

    View full-size slide

  10. εέδϡʔϧ
    ݄ ݄ ݄ ݄ ݄ ݄
    ཁٻఆٛ
    ɾػೳཁٻ
    ɾυϝΠϯϞσϦϯά
    ɾϢʔεέʔεਤ
    ٕज़બఆ
    ༧උઃܭɾৄࡉઃܭ
    ɾϢʔεέʔεهड़
    ɾϩόετωεਤ
    ɾΫϥεਤ
    ࣮૷
    ɾϑϩϯτϞοΫίʔσΟϯά
    ɾ"1*࣮૷
    ɾϑϩϯτ"1*ܨ͗͜Έ
    ɾσβΠϯίʔσΟϯά
    ɾ݁߹ςετ
    ɾϦϦʔε
    ɾ%%%ϦϑΝΫλϦϯά

    View full-size slide

  11. ཁٻఆٛ
    • ࣗࣾϓϩμΫτͷͨΊϝϯόʔશһ͕υϝΠϯ
    ΤΩεύʔτɾϓϩμΫτΦʔφʔ


    • ཁٻʹϒϨ͕͋Δ৔߹͸શһͰٞ࿦ܾͯ͠Ί
    Δ

    View full-size slide

  12. υϝΠϯϞσϦϯά

    View full-size slide

  13. Ϣʔεέʔεਤ

    View full-size slide

  14. εέδϡʔϧ
    ݄ ݄ ݄ ݄ ݄ ݄
    ཁٻఆٛ
    ɾػೳཁٻ
    ɾυϝΠϯϞσϦϯά
    ɾϢʔεέʔεਤ
    ٕज़બఆ
    ༧උઃܭɾৄࡉઃܭ
    ɾϢʔεέʔεهड़
    ɾϩόετωεਤ
    ɾΫϥεਤ
    ࣮૷
    ɾϑϩϯτϞοΫίʔσΟϯά
    ɾ"1*࣮૷
    ɾϑϩϯτ"1*ܨ͗͜Έ
    ɾσβΠϯίʔσΟϯά
    ɾ݁߹ςετ
    ɾϦϦʔε
    ɾ%%%ϦϑΝΫλϦϯά

    View full-size slide

  15. ٕज़બఆ
    • ϝϯόʔશһͰϞνϕʔγϣϯɾকདྷੑɾҊ
    ݅਺ɾ೉қ౓ͳͲ૯߹తʹධՁܾ͠ఆͨ͠

    View full-size slide

  16. εέδϡʔϧ
    ݄ ݄ ݄ ݄ ݄ ݄
    ཁٻఆٛ
    ɾػೳཁٻ
    ɾυϝΠϯϞσϦϯά
    ɾϢʔεέʔεਤ
    ٕज़બఆ
    ༧උઃܭɾৄࡉઃܭ
    ɾϢʔεέʔεهड़
    ɾϩόετωεਤ
    ɾΫϥεਤ
    ࣮૷
    ɾϑϩϯτϞοΫίʔσΟϯά
    ɾ"1*࣮૷
    ɾϑϩϯτ"1*ܨ͗͜Έ
    ɾσβΠϯίʔσΟϯά
    ɾ݁߹ςετ
    ɾϦϦʔε
    ɾ%%%ϦϑΝΫλϦϯά

    View full-size slide

  17. ༧උઃܭ
    • Ϣʔεέʔε͝ͱʹϢʔεέʔεهड़ɾϩόε
    τωεਤΛ࡞੒


    • ϝϯόʔશһͰ࣮ࢪ

    View full-size slide

  18. Ϣʔεέʔεهड़ɾϩόετωεਤ

    View full-size slide

  19. ༧උઃܭ
    • ϩόετωεਤ͸Ϣʔεέʔεͱৄࡉઃܭͷ
    ΪϟοϓΛຒΊΔ΋ͷɻϢʔεέʔεͷݟ௚͠
    ΍ৄࡉઃܭ࣌ʹߟྀ͢΂͖఺Λચ͍ग़ͤΔ

    View full-size slide

  20. ৄࡉઃܭʢΫϥεਤʣ

    View full-size slide

  21. εέδϡʔϧ
    ݄ ݄ ݄ ݄ ݄ ݄
    ཁٻఆٛ
    ɾػೳཁٻ
    ɾυϝΠϯϞσϦϯά
    ɾϢʔεέʔεਤ
    ٕज़બఆ
    ༧උઃܭɾৄࡉઃܭ
    ɾϢʔεέʔεهड़
    ɾϩόετωεਤ
    ɾΫϥεਤ
    ࣮૷
    ɾϑϩϯτϞοΫίʔσΟϯά
    ɾ"1*࣮૷
    ɾϑϩϯτ"1*ܨ͗͜Έ
    ɾσβΠϯίʔσΟϯά
    ɾ݁߹ςετ
    ɾϦϦʔε
    ɾ%%%ϦϑΝΫλϦϯά

    View full-size slide

  22. ࣮૷
    • όοΫΤϯυɺϑϩϯτΤϯυͲͪΒ΋׳Εͳ͍ٕज़ͰΩϟο
    νΞοϓ࣮ͭͭ͠૷ΛਐΊͨ


    • ϞσϧఆٛΛυϝΠϯϞσϧͰ͸ͳ͘ΤϯςΟςΟͱ͍ͯͨ͠
    ʢΫϥεਤ࡞੒ͨ͠ͷʹ...ߟྀෆ଍ʣ


    • ϑΣʔζ1ϦϦʔεޙʹผ్࣌ؒΛઃ͚ͯϦϑΝΫλϦϯά࣮ࢪ


    • ࣮૷ஈ֊ͰͷઃܭϨϕϧͷมߋ͕͕͋ͬͨɺϢʔεέʔεهड़
    ΍ϩόετωεਤͷߋ৽࿙Ε͕ൃੜ

    View full-size slide

  23. εέδϡʔϧ
    ݄ ݄ ݄ ݄ ݄ ݄
    ཁٻఆٛ
    ɾػೳཁٻ
    ɾυϝΠϯϞσϦϯά
    ɾϢʔεέʔεਤ
    ٕज़બఆ
    ༧උઃܭɾৄࡉઃܭ
    ɾϢʔεέʔεهड़
    ɾϩόετωεਤ
    ɾΫϥεਤ
    ࣮૷
    ɾϑϩϯτϞοΫίʔσΟϯά
    ɾ"1*࣮૷
    ɾϑϩϯτ"1*ܨ͗͜Έ
    ɾσβΠϯίʔσΟϯά
    ɾ݁߹ςετ
    ɾϦϦʔε
    ɾ%%%ϦϑΝΫλϦϯά

    View full-size slide

  24. ݁߹ςετɺϦϦʔε
    • ෆ۩߹मਖ਼ɺϢʔβϏϦςΟ޲্Λ࣮ࢪ


    • 10݄த०ʹϑΣʔζ1ϦϦʔε׬ྃ

    View full-size slide

  25. εέδϡʔϧ
    ݄ ݄ ݄ ݄ ݄ ݄
    ཁٻఆٛ
    ɾػೳཁٻ
    ɾυϝΠϯϞσϦϯά
    ɾϢʔεέʔεਤ
    ٕज़બఆ
    ༧උઃܭɾৄࡉઃܭ
    ɾϢʔεέʔεهड़
    ɾϩόετωεਤ
    ɾΫϥεਤ
    ࣮૷
    ɾϑϩϯτϞοΫίʔσΟϯά
    ɾ"1*࣮૷
    ɾϑϩϯτ"1*ܨ͗͜Έ
    ɾσβΠϯίʔσΟϯά
    ɾ݁߹ςετ
    ɾϦϦʔε
    ɾ%%%ϦϑΝΫλϦϯά

    View full-size slide

  26. DDDϦϑΝΫλϦϯά
    • ΫϥεਤΛ΋ͱʹυϝΠϯϞσϧΛ࣮૷


    • ΤϯςΟςΟ͸ϦϙδτϦ૚ͷDBΞΫηεͷ
    ΈͰ࢖༻͢ΔΑ͏ʹมߋ

    View full-size slide

  27. ৼΓฦΓ
    • ػೳҰཡɾը໘࢓༷ॻɾDBఆٛॻΛ࡞੒͢Δجຊઃܭ
    ͔Β୤٫Ͱ͖ͦ͏


    • ϝϯόʔͷཁٻఆٛɺجຊઃܭεΩϧ͕޲্ͨ͠


    • Ϣʔεέʔεۦಈ։ൃΛਖ਼͘͠ద༻ͤ͞Δͷ͸೉͍͠
    ʢࠓճ͸࢖༻ٕज़͕ෆ׳ΕͰͦ͜΋೉қ౓͕ߴ͔ͬͨʣ


    • Ϣʔεέʔεهड़ɺϩόετωεਤΛॻ͚ΔΑ͏ʹͳΔ
    ͚ͩͰઃܭεΩϧ͸্͕Δ

    View full-size slide

  28. ৼΓฦΓ
    • फڭ্ɺϢʔεέʔεۦಈ։ൃͷಋೖ͕೉͍͠৔߹ɺ·
    ͣ͸Ϣʔεέʔεهड़ͱϩόετωεਤΛ࡞ͬͯࣗ෼ͷ
    ಄Λ੔ཧ͢Δͷ͕͓͢͢Ί


    • ༧උઃܭظؒͰ๞͖͕ൃੜͨ͠ɻ࣍ճ͸Ϣʔεέʔε୯
    ҐͰ༧උઃܭˠ࣮૷ˠςετͷαΠΫϧΛΠςϨʔςΟ
    ϒʹճ͍͖͍ͯͨ͠ʢICONIXϓϩηεʹ͸ϓϩδΣΫ
    τͷϥΠϑαΠΫϧ͸ఆٛ͞Ε͍ͯͳ͍ͷͰΞδϟΠϧ
    Ͱ΋΢ΥʔλʔϑΥʔϧͰ΋ͲͪΒͰ΋ྑ͍ʣ

    View full-size slide

  29. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ

    View full-size slide