Skip to content

Latest commit

ย 

History

History
77 lines (62 loc) ยท 2.39 KB

README.md

File metadata and controls

77 lines (62 loc) ยท 2.39 KB

ํฌํŠธํด๋ฆฌ์˜ค ํ† ์ด ํ”„๋กœ์ ํŠธ

๋ฏธ๋ฆฌ๋ณด๊ธฐ์ด๋ฏธ์ง€
๋ฐ”๋กœ๊ฐ€๊ธฐ


โฑ Installation

  • SCSS
  • React (yarn)
    • react-router-dom
    • node-sass
    • class-names
    • react-transition-group
    • react-typing-effect
    • unified, remark-rehype, remark-parse
    • gh-pages

๐Ÿ“‚ File Structure

components

  • ์ปดํฌ๋„ŒํŠธ ๋ชจ์Œ
    • Header
    • PageList
    • ๐Ÿ“‚ Memo, Todo
  • reset์šฉ css ํŒŒ์ผ
    • Eric Meyerโ€™s โ€œReset CSSโ€ 2.0 ์ธ์šฉ, ์ปค์Šคํ…€
    • @font-face๋กœ "๋„ค์˜ค๋‘ฅ๊ทผ๋ชจ import

components/Memo

  • Memo ํŽ˜์ด์ง€ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ ๋ชจ์Œ

components/Todo

  • Todo ํŽ˜์ด์ง€ ๊ด€๋ จ ์ปดํฌ๋„ŒํŠธ ๋ชจ์Œ

src/containers

  • PageList ์•ˆ์— ๋“ค์–ด๊ฐ€๋Š” ๋ ˆ์ด์•„์›ƒ ์ปดํฌ๋„ŒํŠธ๋“ค (...-wraper) ๋ชจ์Œ

๐ŸŒต Branchs

  • โœ” main : ๊ฐœ๋ฐœ ๋ฐ ๋นŒ๋“œํ•œ ๊ธฐ๋ณธ ๋ธŒ๋žœ์น˜
  • โœ” gh-pages : gh-pages ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์— ๋”ฐ๋ผ ๊ด€๋ฆฌ๋˜๋Š” ๋ฐฐํฌ์šฉ ๋ธŒ๋žœ์น˜

๐Ÿ’ป Coding Convention

  • Naming Rules
    • Components, SCSS Files : ํŒŒ์Šค์นผํ‘œ๊ธฐ๋ฒ•
    • Variable, Methods : ์นด๋ฉœํ‘œ๊ธฐ๋ฒ•
    • Class : ๋„์–ด์“ฐ๊ธฐ '-'๋กœ ์‚ฌ์šฉ <div class='logo-item'></div>
  • Prettier, ESLint
    • ๊ธฐ๋ณธ ์„ค์ • ์‚ฌ์šฉ

๐Ÿ“š Packages

  • react-router-dom
    • Header๋ฅผ ํ†ตํ•ด ํŽ˜์ด์ง€๋ฅผ ์ด๋™ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•˜๊ธฐ ์œ„ํ•ด ์ด์šฉ
  • node-sass
    • SCSS๋กœ ์ž‘์„ฑํ•œ ์Šคํƒ€์ผ์„ ์ ์šฉ์‹œํ‚ค๊ธฐ ์œ„ํ•ด ์ด์šฉ
  • class-names
    • ์กฐ๊ฑด๋ถ€ ์Šคํƒ€์ผ ์ ์šฉ์„ ์œ„ํ•ด TodoListItem์—์„œ ์ด์šฉ
  • react-transition-group
    • ํŽ˜์ด์ง€๋ฅผ ์ด๋™ํ•  ๋•Œ ํ™”๋ฉด ์ „ํ™˜ ์• ๋‹ˆ๋ฉ”์ด์…˜์„ ์ ์šฉ์‹œํ‚ค๊ธฐ ์œ„ํ•ด ์ด์šฉ
    • ์ด ๊ฒŒ์‹œ๊ธ€์„ ์ฐธ๊ณ 
  • react-typing-effect
    • About ํŽ˜์ด์ง€์—์„œ ํ•œ ๋งˆ๋””๋ฅผ ๊ฐ•์กฐํ•˜๊ณ  ๋””์ž์ธ ์ปจ์…‰์— ๋งž์ถ”๊ธฐ ์œ„ํ•˜์—ฌ ์ด์šฉ
    • npmjs.com์„ ์ฐธ๊ณ ํ•˜์—ฌ ์ด์šฉ (ํŒจํ‚ค์ง€ ๋„๊ตฌ๋ฅผ yarn์œผ๋กœ ์‚ฌ์šฉํ–ˆ๊ธฐ ๋•Œ๋ฌธ์— ๋ช…๋ น์–ด๋Š” ๋‹ค๋ฅด๊ฒŒ ์‚ฌ์šฉ)
  • unified, remark-rehype, remark-parse, react-virtualized
    • Memo ํŽ˜์ด์ง€์—์„œ ๋งˆํฌ๋‹ค์šด ์–ธ์–ด๋กœ ์ž‘์„ฑํ•œ ๋ฉ”๋ชจ๋ฅผ HTML๋กœ ๋ณ€ํ™˜ํ•˜๊ธฐ ์œ„ํ•ด ์ด์šฉ
    • ์ด ๊ฒŒ์‹œ๊ธ€์„ ์ฐธ๊ณ 
  • gh-pages
    • white-jang.github.io๋กœ ๋ฐฐํฌํ•˜๊ธฐ ์œ„ํ•ด ์ด์šฉ