Skip to content

Latest commit

ย 

History

History
68 lines (42 loc) ยท 2.35 KB

README.md

File metadata and controls

68 lines (42 loc) ยท 2.35 KB

์ฐพ์•„Zone

๋ณธ๊ฒฉ์ ์œผ๋กœ ๋ฐฉ์„ ์•Œ์•„๋ณด๊ธฐ ์ „, ์œ„์น˜ ๊ฐ€์ด๋“œ๋ผ์ธ์„ ์ œ๊ณตํ•˜๋Š” ์ฃผ๊ฑฐ ์ง€์—ญ ํ๋ ˆ์ด์…˜ ์„œ๋น„์Šค

ํŒ€์›

  • ๊ธฐํš์ž : ์ž„์ •ํ™˜(PM)
  • ๋””์ž์ด๋„ˆ : ์žฅ์žฌ์˜
  • ๊ฐœ๋ฐœ์ž : ๋…ธ์˜์ง€(FE), ์•ˆ๊ด‘ํ˜ธ(FE), ์ด์†ก์›,(FE) ์ •์›ํฌ(BE), ํ—ˆ์ง„ํ˜ธ(BE)

์‹คํ–‰๋ฐฉ๋ฒ•

  • ํ˜„์žฌ ํ”„๋กœ์ ํŠธ๋ฅผ ๋กœ์ปฌ์— ์œ„์น˜์‹œํ‚จ ํ›„ ํ”„๋กœ์ ํŠธ ์ตœ์ƒ์œ„ ๊ฒฝ๋กœ์—์„œ ์•„๋ž˜ ๋ช…๋ น์–ด ์‹คํ–‰

    npm install
    npm run start #server ์‹คํ–‰
    npm run test #Jest ๊ธฐ๋ฐ˜ ํ…Œ์ŠคํŠธ ์‹คํ–‰
    npm run test:watch #Jest ๊ธฐ๋ฐ˜ ํ…Œ์ŠคํŠธ ๊ฒฐ๊ณผ๋งŒ ์ถœ๋ ฅ
  • localhost:3000์œผ๋กœ ์ ‘์†ํ•˜์—ฌ ๊ฒฐ๊ณผ ํ™•์ธ

์‚ฌ์šฉ๊ธฐ์ˆ 

Language library

  • React.js, Typescript

Third Party library

  • Redux-saga, axios, SASS, Styled-Components

Bundling

  • Webpack

Test library

  • Jest, RTL(React Testing Library)

๋ธŒ๋žœ์น˜ ์ „๋žต

Git Flow๋ฐฉ์‹์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ธŒ๋žœ์น˜๋ฅผ ๊ด€๋ฆฌํ•œ๋‹ค.

  1. master : ๋ฐฐํฌ ๋ฒ„์ „ ์†Œ์Šค(release๋ธŒ๋žœ์น˜๋ฅผ ํ†ตํ•ด์„œ๋งŒ merge)
  2. develop : ๊ฐœ๋ฐœ ์™„๋ฃŒ๋œ ์†Œ์Šค(master๋ธŒ๋žœ์น˜์—์„œ ๋ถ„๋ฆฌ)
  3. feature/{๊ธฐ๋Šฅ} : ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ๊ฐœ๋ฐœ(develop์—์„œ ๋ถ„๋ฆฌ๋˜๋ฉฐ ์™„๋ฃŒ ์‹œ develop์— PR)
  4. release : ๋ฐฐํฌ ์ „ ๋ธŒ๋žœ์น˜(develop์—์„œ ๋ถ„๋ฆฌ)
  • ๊ฐœ๋ฐœ ์ง„ํ–‰ ์‹œ develop์—์„œ ๋ธŒ๋žœ์น˜๋ฅผ ๋ถ„๋ฆฌํ•˜์—ฌ ๊ธฐ๋Šฅ์ž‘์—… ํ›„ develop์— ๋ณ‘ํ•ฉ์„ ์ˆ˜ํ–‰ํ•œ๋‹ค.
  • ๋ฐฐํฌ ์ „ Test๋ฅผ ์œ„ํ•ด release๋ธŒ๋žœ์น˜๋ฅผ ๋ถ„๋ฆฌํ•˜๋ฉฐ Bug์— ๋Œ€ํ•˜์—ฌ release์—์„œ ์ˆ˜์ • ํ›„ master, develop๋ธŒ๋žœ์น˜ 2๊ตฐ๋ฐ์— ๋ณ‘ํ•ฉํ•œ๋‹ค.

๊ฐœ๋ฐœ Flow

TDD ๋ฐฉ๋ฒ•๋ก ์„ ์‚ฌ์šฉํ•˜์—ฌ ํ…Œ์ŠคํŠธ์ผ€์ด์Šค ์ž‘์„ฑ->๊ตฌํ˜„->ํ…Œ์ŠคํŠธ์ผ€์ด์Šค ์ˆ˜์ •->์ฝ”๋“œ ์ˆ˜์ • ๊ณผ์ •์„ ๋ฐ˜๋ณตํ•˜์—ฌ ๊ฐœ๋ฐœ์„ ์ง„ํ–‰ํ•œ๋‹ค.

์ง€์†์ ์ธ ์ œ๊ณต ๋ฐ ๋ฐฐํฌ๋ฅผ ์œ„ํ•˜์—ฌ CI/CD๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค.

CI/CD ํ๋ฆ„๋„

์‚ฌ์šฉ๊ธฐ์ˆ  : git-hook(husky), github Action, Docker, Google Cloud

  1. ๊ฐœ๋ฐœ์ž๊ฐ€ ๋ธŒ๋žœ์น˜์— Push์ „ ๋กœ์ปฌ์—์„œ test๋ฅผ ์ง„ํ–‰ํ•˜์—ฌ ์„ฑ๊ณต ์‹œ pushํ•œ๋‹ค.(git-hook)
  2. feature/{๊ธฐ๋Šฅ} -> develop ๋ธŒ๋žœ์น˜์— PR์‹œ unit test๋ฅผ ์ง„ํ–‰ํ•˜๋ฉฐ ์„ฑ๊ณต ์‹œ PR์„ ์ง„ํ–‰ํ•œ๋‹ค.(github Action)
  3. release -> master ๋ธŒ๋žœ์น˜์— PR์‹œ unit test ์ˆ˜ํ–‰ ํ›„ ์„ฑ๊ณต ์‹œ PR์„ ์ง„ํ–‰ํ•œ๋‹ค.(github Action)
  4. master ๋ธŒ๋žœ์น˜์— PR์™„๋ฃŒ ์‹œ npm build, dockerize ์ˆ˜ํ–‰ ํ›„ Google Cloud์— ๋ฐฐํฌํ•œ๋‹ค.(github Aciont, Docker, Google Cloud)
  5. Cloud์—์„œ reverse proxy server๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ load balancer๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ฌด์ค‘๋‹จ์œผ๋กœ ๋ฐฐํฌํ•œ๋‹ค.