Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Latest commit

ย 

History

History

fe00

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

JS Piscine

FE 00

๊ธฐ๋ณธ ๊ทœ์น™

  • JS Piscine์—์„œ ์‚ฌ์šฉํ•˜๋Š” Node.JS ๋ฒ„์ ผ์€ LTS 14.x์ž…๋‹ˆ๋‹ค.
  • ๋ฌธ์ œ๋“ค์€ ๋‚œ์ด๋„ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ๋ฐฐ์น˜๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.
  • ์—ฌ๋Ÿฌ๋ถ„๋“ค์˜ ์ฝ”๋“œ๋Š” ๋™๋ฃŒํ‰๊ฐ€๋ฅผ ํ†ตํ•ด ํ‰๊ฐ€๋  ์˜ˆ์ •์ด๊ธฐ ๋•Œ๋ฌธ์— ๋‹ค๋ฅธ ์‚ฌ๋žŒ์ด ์ฝ๊ธฐ ์‰ฝ๋„๋ก ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”! (์˜ˆ๋ฅผ ๋“ค์–ด ๋ณ€์ˆ˜๋ช…์„ ์˜๋ฏธ์žˆ๊ฒŒ ์ •ํ•˜๊ฑฐ๋‚˜, ํ•จ์ˆ˜ ์ด๋ฆ„์„ ๊ธฐ๋Šฅ์— ๋งž๊ฒŒ ์ž‘๋ช…ํ•˜๋Š” ๊ฒƒ ์ฒ˜๋Ÿผ์š”.)
  • ํ•จ์ˆ˜๋ฅผ ๊ตฌํ˜„ํ•˜๋Š” ๋ฌธ์ œ์˜ ๊ฒฝ์šฐ, ํ‰๊ฐ€์‹œ ๋ชจ๋“ˆ์„ ํ†ตํ•ด ํ•จ์ˆ˜๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ ์ œ์ถœํ•  ํ•จ์ˆ˜์ฝ”๋“œ๋ฅผ export ํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.
    • ๊ตฌํ˜„ํ•ด์•ผ ํ•  ํ•จ์ˆ˜๊ฐ€ ํ•œ๊ฐ€์ง€์ผ ๊ฒฝ์šฐ, default export ์ฒ˜๋ฆฌํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
  • nodemon,ย ESlintย ์™€ ๊ฐ™์€ ๊ฐœ๋ฐœ์— ๊ด€ํ•œ ๋ชจ๋“ˆ์€ย devdependenciesย ์— ์ •์˜๊ฐ€ ๋˜์–ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
  • ํ‰๊ฐ€ ์ง„ํ–‰ ์ „ย npm installย ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ์‚ฌ์ „ dependency ๋ชจ๋“ˆ๋“ค์„ ๋ชจ๋‘ ์„ค์น˜ ํ•ฉ๋‹ˆ๋‹ค.
  • node_modulesย ์™€ ๊ฐ™์€ ๋ถˆ ํ•„์š”ํ•œ ํŒŒ์ผ์€ย .gitignoreย ๋ฅผ ํ†ตํ•ด ์ ์ ˆํ•˜๊ฒŒ ์ œ์™ธ๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
  • Code Format์— ๋Œ€ํ•˜์—ฌ ํ‰๊ฐ€ํ•˜์ง€๋Š” ์•Š์ง€๋งŒ, eslint๋‚˜ beautify๋ฅผ ํ†ตํ•ด code format์„ ์ฒดํฌํ•˜๋ฉด์„œ ์ง„ํ–‰ํ•˜๋Š” ๊ฒƒ์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.
  • RTFM!!
  • ์„œ๋ธŒ์ ํŠธ๋Š” ์ œ์ถœ ๋งˆ๊ฐ 1์‹œ๊ฐ„ ์ „๊นŒ์ง€ ๋ณ€๊ฒฝ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • ๋งŒ์•ฝ ๋ฌธ์ œ์— ์˜ค๋ฅ˜(์˜คํƒ€๋‚˜ ๋…ผ๋ฆฌ์  ์˜ค๋ฅ˜)๋ฅผ ๋ฐœ๊ฒฌํ–ˆ๋‹ค๋ฉด ๊นƒํ—™ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ์— ์ด์Šˆ๋ฅผ ๋“ฑ๋กํ•ด์ฃผ์„ธ์š”. ์—ฌ๋Ÿฌ๋ถ„์˜ ๋„์›€์œผ๋กœ JS Piscine์ด ๋”์šฑ ์™„๋ฒฝํ•ด์ง‘๋‹ˆ๋‹ค :)