Skip to content

peer session week2

Dongmin Kim edited this page Nov 4, 2021 · 4 revisions

ํ”ผ์–ด์„ธ์…˜

Week2

๊ธฐ์ˆ ์Šคํƒ ์„ ์ • ์ด์œ 

  • ๊ณตํ†ต

    • TypeScript
      • ์ •์  ํƒ€์ž…์„ ์ง€์›ํ•จ์œผ๋กœ์จ ์ปดํŒŒ์ผ ๋‹จ๊ณ„์—์„œ ์˜ค๋ฅ˜๋ฅผ ํฌ์ฐฉํ•  ์ˆ˜ ์žˆ๋‹ค
    • ESlint (์ •์  ๋ถ„์„๊ธฐ๋ฅผ ํ†ตํ•œ ์‚ฌ์ „์— ์˜ค๋ฅ˜ ์˜ˆ๋ฐฉ)
    • Prettier (์ฝ”๋“œ ํฌ๋งคํŒ…์œผ๋กœ ์Šคํƒ€์ผ ๊ฐ€์ด๋“œ ํ†ต์ผ)
  • ํด๋ผ์ด์–ธํŠธ

    • Next.js
      • SNS ์˜ ํŠน์„ฑ์„ ์‚ด๋ฆฌ๊ธฐ ์œ„ํ•ด SSR ๊ณผ CSR ์„ ์ง€์›ํ•˜๋Š” Next.js ์„ ์ •
    • Recoil
      • ์ƒํƒœ๊ด€๋ฆฌ
      • Recoil vs Redux
        • ํ•™์Šต ๊ณก์„ ์ด ์™„๋งŒํ•จ
        • ์ฝ”๋“œ๋Ÿ‰์ด ์ ์Œ
        • hooks ์ฒ˜๋Ÿผ ์‚ฌ์šฉ ๊ฐ€๋Šฅ
    • react-query
      • ๋น„๋™๊ธฐ ๊ด€๋ จ boilerplate๋ฅผ ์ตœ์†Œํ™” ํ•œ๋‹ค. (๋น„๋™๊ธฐ ์ถ”์ƒํ™”)
      • react-query vs useSWR
        • ๋” ํฐ ์ปค๋ฎค๋‹ˆํ‹ฐ
        • ๊ฐ€๋น„์ง€ ์ปฌ๋ ‰ํŒ…
  • ์„œ๋ฒ„

    • NCP
      • ํฌ๋ž˜๋”ง ์ง€์›
    • Express
    • JWT
      • ์‚ฌ์šฉ์ž๊ฐ€ ๋Š˜์–ด๋‚  ์ˆ˜๋ก ์„œ๋ฒ„์˜ ํ™•์žฅ์€ ๋ถˆ๊ฐ€ํ”ผํ•  ๊ฒƒ์ด๋ฏ€๋กœ ์„œ๋ฒ„์˜ ํ™•์žฅ์„ฑ์„ ์œ„ํ•ด ์‚ฌ์šฉ
      • Cookie Session vs JWT
        • Cookie Session
    • Passport
      • JWT ์ธ์ฆ ์ถ”์ƒํ™”
    • Mongoose
      • ODM
      • ์ •ํ˜•ํ™”๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๋ณด์žฅํ•˜๊ธฐ ์œ„ํ•ด ์Šคํ‚ค๋งˆ๋ฅผ ์‚ฌ์šฉ, ์Šคํ‚ค๋งˆ ์ˆ˜์ •์ด ์–ด๋ ค์šด RDBMS์™€ ๋‹ฌ๋ฆฌ ์Šคํ‚ค๋งˆ์˜ ์ˆ˜์ •์ด ์‰ฝ๊ธฐ ๋•Œ๋ฌธ์— ํ™•์žฅ๊ณผ ์ˆ˜์ •์ด ์šฉ์ด
      • Populate, dbRef
  • ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค

    • MongoDB
      • SNS ์„œ๋น„์Šค์—์„œ ์‚ฌ์šฉ์ž๊ฐ€ ๋ชจ๋“  ์ •๋ณด๋ฅผ ๋™์ผํ•˜๊ฒŒ ์ž‘์„ฑํ•˜๋Š” ๊ฒƒ์ด ์•„๋‹Œ ์„ ํƒ์ ์œผ๋กœ ์ž‘์„ฑํ•˜๊ธฐ ๋•Œ๋ฌธ์— Null System ์— ์ตœ์ ํ™”๊ฐ€ ์ž˜ ์ง„ํ–‰๋œ MongoDB ์„ ํƒ
      • MySQL vs MongoDB
        • ์ •ํ™•ํ•œ ๋ฐ์ดํ„ฐ ๊ตฌ์กฐ๋ฅผ ์•Œ ์ˆ˜ ์—†๊ฑฐ๋‚˜ ๋ณ€๊ฒฝ / ํ™•์žฅ ๋  ์ˆ˜ ์žˆ๋Š” ๊ฒฝ์šฐ
  • ํ…Œ์ŠคํŠธ

    • Jest
      • Jest vs Mocha
        • Jest ํ•„์š”ํ•˜์ง€ ์•Š์„ ์ˆ˜ ์žˆ๋Š” ํŒจํ‚ค์ง€๋ฅผ ์ „๋ถ€ ์ง€์›ํ•˜์—ฌ ์ ์šฉ์‹œ๊ฐ„์ด ์งง๋‹ค. Mocha ๋Š” ์œ ์—ฐ์„ฑ์ด ๋†’๋‹ค.
  • ๋ฐ๋ธŒ์˜ต์Šค

    • Github Actions
    • Nginx
    • PM2

Self Hosted Runner

Note: If you use an IP address allow list for your GitHub organization or enterprise account, you cannot use GitHub-hosted runners and must instead use self-hosted runners. For more information, see "About self-hosted runners."

ํŒ€

๊ฐœ๋ฐœ
๋ฐ๋ชจ
์Šคํฌ๋Ÿผ
์Šคํ”„๋ฆฐํŠธ
ํ”ผ์–ด์„ธ์…˜
ํšŒ๊ณ ๋ก
Clone this wiki locally