Skip to content

emewjin/react-youngchapedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฟ Team Youngchapedia

๐Ÿš€ https://youngchapedia.com/
๐Ÿฅฒ ํ˜„์žฌ ์„œ๋ฒ„๊ฐ€ ์ผœ์ ธ ์žˆ์ง€ ์•Š์•„ ๋ฐ์ดํ„ฐ๋ฅผ ํ‘œ์‹œํ•  ์ˆ˜ ์—†์–ด์š”. ์ด์šฉ์— ๋ถˆํŽธ์„ ๋“œ๋ ค ์ฃ„์†กํ•ฉ๋‹ˆ๋‹ค.
๐Ÿ“บ ๋Œ€์‹  ์œ ํŠœ๋ธŒ ๋ฐ๋ชจ ์˜์ƒ์œผ๋กœ ํ™•์ธํ•ด์ฃผ์„ธ์š”!

๐ŸŽž ํ”„๋กœ์ ํŠธ ์†Œ๊ฐœ

์™“์ฑ ํ”ผ๋””์•„์˜ ๊ธฐํš๊ณผ ๋””์ž์ธ์„ ์ฐธ๊ณ ํ•˜์—ฌ ์ดˆ๊ธฐ์„ธํŒ…๋ถ€ํ„ฐ ๋๊นŒ์ง€ ์ง์ ‘ ๋งŒ๋“  ์›น ๊ฐœ๋ฐœ ํ”„๋กœ์ ํŠธ
์˜ํ™”๋ฅผ ์ข‹์•„ํ•˜๋Š” ์‚ฌ๋žŒ๋“ค์ด ์ž์‹ ์˜ ๊ฐ์ƒ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ์˜ํ™”๋ฅผ ํ‰๊ฐ€ํ•˜๊ณ , ๊ทธ์— ๋Œ€ํ•œ ๊ฒฐ๊ณผ๋ฅผ ์กฐํšŒํ•˜๊ณ , ์˜ํ™”์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ์–ป๊ณ , ์ž์œ ๋กญ๊ฒŒ ๊ฐ์ƒ์„ ๋‚˜๋ˆ„๋Š” ์˜ํ™” ์ฝ˜ํ…์ธ  ์ปค๋ฎค๋‹ˆํ‹ฐ์ž…๋‹ˆ๋‹ค.

  • ํ”„๋กœ์ ํŠธ ๊ธฐ๊ฐ„ : 2021.05.10 ~ 2021.05.21

๐ŸŽฏ ํ”„๋กœ์ ํŠธ ๋ชฉํ‘œ

  1. ๋ฐฑ์—”๋“œ-ํ”„๋ก ํŠธ์—”๋“œ ์ปค๋ฎค๋‹ˆ์ผ€์ด์…˜ ๋ฐ ํ†ต์‹ ์œผ๋กœ ํ˜‘์—… ๊ฒฝํ—˜ ์Œ“๊ธฐ
  2. ๊ธฐ๋Šฅ ๊ตฌํ˜„ ๊ณ„ํš๋ณ„ ์‹œ๊ฐ„ ๊ด€๋ฆฌ ๊ฒฝํ—˜ ์Œ“๊ธฐ
  3. React Class Component๋ฅผ ์‚ฌ์šฉํ•œ ์ปดํฌ๋„ŒํŠธ ๊ด€๋ฆฌ ๋ฐ ๊ตฌ์กฐ ์„ค๊ณ„
  4. ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ  ์ตœ๋Œ€ํ•œ ๊ตฌํ˜„ํ•ด๋ณด๋Š” ๊ฒฝํ—˜ ์Œ“๊ธฐ
  5. SCSS๋ฅผ ํ™œ์šฉํ•œ ์Šคํƒ€์ผ๋ง

ํŒ€์› ๊ตฌ์„ฑ ๋ฐ ๋ธ”๋กœ๊ทธ

๊ธฐํš ํฌ์ธํŠธ

  • ๊ฐœ์ธ์˜ ์ทจํ–ฅ์„ ์กด์ค‘ํ•˜๋Š” ์˜ํ™” ๋ฆฌ๋ทฐ ์ปค๋ฎค๋‹ˆํ‹ฐ
  • ๋‚ด๊ฐ€ ๋ชจ๋ฅด๋Š” ๋‚˜์˜ ์ทจํ–ฅ์„ ์ถ”์ฒœ๋ฐ›๊ธฐ ์œ„ํ•œ ์˜ํ™” ํ‰๊ฐ€ํ•˜๊ธฐ
  • ํ‰๊ฐ€ํ•œ ๋ณ„์ ์œผ๋กœ ์‚ฌ์šฉ์ž์˜ ์„ ํ˜ธ ์žฅ๋ฅด ํŒŒ์•… ๋ณ„์  ์ถ”์ด ๊ทธ๋ž˜ํ”„ํ™”
  • ์žฅ๋ฅด๋ณ„ ์˜ํ™” ํ•„ํ„ฐ๋ง
  • ์‹œ๊ฐ„์ด ์ง€๋‚ ์ˆ˜๋ก ๋” ๋งŽ์•„์ง€๋Š” ์˜ํ™”๋“ค์˜ ์ •๋ณด ๊ด€๋ฆฌ

๐ŸŽž ์ ์šฉ ๊ธฐ์ˆ  ๋ฐ ๊ตฌํ˜„ ๊ธฐ๋Šฅ

์ ์šฉ ๊ธฐ์ˆ 

  • Front-End : React, React Router, Sass(SCSS), JavaScript, CRA
  • Back-End : Python, Django, My SQL
  • Communication Tool : Trello, Git, GitHub, Slack

๊ตฌํ˜„ ๊ธฐ๋Šฅ

  • ๋ฉ”์ธ ํŽ˜์ด์ง€
  • ์ƒ์„ธ ํŽ˜์ด์ง€ (์˜ํ™”๋ณ„)
  • ๋กœ๊ทธ์ธ & ํšŒ์›๊ฐ€์ž… ๋ชจ๋‹ฌ
  • ํ‰๊ฐ€ํ•˜๊ธฐ ํŽ˜์ด์ง€
  • ๋งˆ์ดํŽ˜์ด์ง€
  • ์ทจํ–ฅ๋ถ„์„ ํŽ˜์ด์ง€

๐Ÿ‘ฉ๐Ÿปโ€๐ŸŒพ ์ œ๊ฐ€ ๋‹ด๋‹นํ•œ ๊ตฌํ˜„ ์‚ฌํ•ญ์ด์˜ˆ์š”

๊ฐ์ƒํ•œ ์˜ํ™”๋ฅผ ํ‰๊ฐ€ํ•  ์ˆ˜ ์žˆ์–ด์š”

  1. ๋ฐฑ์—”๋“œ API๋กœ๋ถ€ํ„ฐ ์œ ์ €๊ฐ€ ์•„์ง ํ‰๊ฐ€ํ•˜์ง€ ์•Š์€ ์˜ํ™” ์ •๋ณด๋ฅผ ๋ฐ›์•„ ๋ณด์—ฌ์คŒ
  2. ๋งŽ์€ ์˜ํ™”๊ฐ€ ๊ทธ๋ ค์ง€๊ธฐ ๋•Œ๋ฌธ์— ๋ฌดํ•œ์Šคํฌ๋กค์„ ์ด์šฉํ•ด ์‚ฌ์šฉ์ž ๊ฒฝํ—˜ ๊ฐœ์„ , throttle๋กœ ์Šคํฌ๋กค ์ด๋ฒคํŠธ ์ตœ์ ํ™”
  3. Star Rating ์ปดํฌ๋„ŒํŠธ๋ฅผ ๊ตฌํ˜„ํ•˜์—ฌ 0.5์  ๋‹จ์œ„๋กœ ๋ณ„์ ์„ ํ‰๊ฐ€ํ•˜๊ณ  ์„œ๋ฒ„๋กœ POST
  4. ๋ณ„์  POST ์™„๋ฃŒ์‹œ ๋ฐ”๋กœ ๋‚ด๊ฐ€ ํ‰๊ฐ€ํ•œ ์˜ํ™” ๊ฐœ์ˆ˜ ์—…๋ฐ์ดํŠธ
  5. ์ฟผ๋ฆฌํŒŒ๋ผ๋ฏธํ„ฐ๋ฅผ ํ™œ์šฉํ•ด ์žฅ๋ฅด ๋ฉ”๋‰ด (๋ชจ๋‹ฌ)์—์„œ ํด๋ฆญํ•œ ์žฅ๋ฅด์— ํ•ด๋‹นํ•˜๋Š” ์˜ํ™” get ์š”์ฒญ

๋งˆ์ดํŽ˜์ด์ง€์—์„œ ์ทจํ–ฅ๋ถ„์„ ๊ฒฐ๊ณผ๋ฅผ ์ œ๊ณตํ•ด์š”

  • fetch API๋ฅผ ์ด์šฉํ•ด ๋ฐฑ์—”๋“œ API๋กœ๋ถ€ํ„ฐ ์œ ์ €๊ฐ€ ํ‰๊ฐ€ํ•œ ์˜ํ™” ์ •๋ณด๋ฅผ ๋ฐ›์•„ ๋ณ„์  ๋ถ„ํฌ ๊ทธ๋ž˜ํ”„, ์„ ํ˜ธ ์žฅ๋ฅด ๋žญํ‚น ๋ถ„์„ ๊ฒฐ๊ณผ์ง€ ๊ทธ๋ฆฌ๊ธฐ

๋กœ๊ทธ์ธ/ํšŒ์›๊ฐ€์ž…

  1. ์ฒ˜์Œ์—” JWT, ๋กœ์ปฌ ์Šคํ† ๋ฆฌ์ง€๋ฅผ ์ด์šฉํ•ด ๋กœ๊ทธ์ธ ์ƒํƒœ ์œ ์ง€ ๋ฐ ๋กœ๊ทธ์ธ/ํšŒ์›๊ฐ€์ž…/๋กœ๊ทธ์•„์›ƒ์„ ๊ตฌํ˜„
  2. ๋ถ€ํŠธ์บ ํ”„ ์ˆ˜๋ฃŒ ํ›„ ์•ˆ์ „ํ•œ ๋กœ๊ทธ์ธ์— ๋Œ€ํ•ด ๋ฐฑ์—”๋“œ ๋‹ด๋‹น์ž์™€ ํ•จ๊ป˜ ๊ณ ๋ฏผ, ๊ณต๋ถ€. ๐Ÿ“Ž ๊ด€๋ จ ๊ธ€์€ ์—ฌ๊ธฐ์„œ ๋ณด์‹ค ์ˆ˜ ์žˆ์–ด์š”
  3. https ํ™˜๊ฒฝ์œผ๋กœ ๋ฐฐํฌํ•˜์—ฌ http-only ์„ค์ •๋œ ์ฟ ํ‚ค๋กœ ๋ฆฌํ”„๋ ˆ์‰ฌ ํ† ํฐ์„ ๊ด€๋ฆฌํ•˜๊ณ ์ž ์ˆ˜์ • ์ง„ํ–‰ ์ค‘ ๐Ÿ”ง
  4. ์ •๊ทœํ‘œํ˜„์‹์„ ํ™œ์šฉํ•ด ์ด๋ฆ„/์ด๋ฉ”์ผ/๋น„๋ฐ€๋ฒˆํ˜ธ ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ
  5. ๋กœ๊ทธ์ธ ์—ฌ๋ถ€์— ๋”ฐ๋ผ Nav UI ์กฐ๊ฑด๋ถ€ ๋ Œ๋”๋ง

๊ธฐํƒ€์‚ฌํ•ญ

๐Ÿ“ ํ”„๋กœ์ ํŠธ ํšŒ๊ณ ๋ก

๐Ÿ“ข Reference

  • ์ด ํ”„๋กœ์ ํŠธ๋Š” ์™“์ฑ ํ”ผ๋””์•„ ์‚ฌ์ดํŠธ๋ฅผ ์ฐธ์กฐํ•˜์—ฌ ํ•™์Šต๋ชฉ์ ์œผ๋กœ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค.
  • ์‹ค๋ฌด์ˆ˜์ค€์˜ ํ”„๋กœ์ ํŠธ์ด์ง€๋งŒ ํ•™์Šต์šฉ์œผ๋กœ ๋งŒ๋“ค์—ˆ๊ธฐ ๋•Œ๋ฌธ์— ์ด ์ฝ”๋“œ๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์ด๋“์„ ์ทจํ•˜๊ฑฐ๋‚˜ ๋ฌด๋‹จ ๋ฐฐํฌํ•  ๊ฒฝ์šฐ ๋ฒ•์ ์œผ๋กœ ๋ฌธ์ œ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • ์ด ํ”„๋กœ์ ํŠธ์—์„œ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š” ์‚ฌ์ง„๊ณผ ์˜ํ™” ์ •๋ณด ๋Œ€๋ถ€๋ถ„์€ ์˜ํ™” ์†Œ๊ฐœ์˜ ๋ชฉ์ ์œผ๋กœ ์˜ํ™” ์ œ์ž‘์‚ฌ์—์„œ ์ œ๊ณตํ•œ ์ž๋ฃŒ๋ฅผ ์‚ฌ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค.
  • ์ด ํ”„๋กœ์ ํŠธ์—์„œ์˜ ์˜ํ™”๋ณ„ ์žฅ๋ฅด๋Š” ์ž„์˜๋กœ ์„ค์ •ํ•œ ๊ฒƒ์ด๋ฉฐ ์‹ค์ œ์™€ ๋ฌด๊ด€ํ•ฉ๋‹ˆ๋‹ค.