๐Ÿ˜พnest.js ์„ค์น˜

yyยท2024๋…„ 1์›” 24์ผ
0

์žก๋™์‚ฐ์ด

๋ชฉ๋ก ๋ณด๊ธฐ
12/21
post-thumbnail

1. nest ์ „์—ญ์ ์œผ๋กœ ์„ค์น˜ (์‚ฌ์ „์— node๊ฐ€ ๊น”๋ ค์žˆ์–ด์•ผํ•จ)

npm i -g @nestjs/cli

2. ํด๋” ๋งŒ๋“ค๊ธฐ, ํด๋”๋กœ ๋””๋ ‰ํ† ๋ฆฌ ์ด๋™

3. nest ํ”„๋กœ์ ํŠธ ํŒŒ์ผ ๋งŒ๋“ค๊ธฐ

nest new nest_practice

์„ค์น˜ํ•  ๋•Œ ์•„๋ž˜์™€ ๊ฐ™์ด package manager๋ฅผ ์„ค์น˜ํ•˜๋ผ๊ณ  ๋‚˜์˜ด. npm ์„ค์ •.

? Which package manager would you โค๏ธ  to use? (Use arrow keys)
โฏ npm
  yarn
  pnpm

๊ธฐ๋‹ค๋ฆฌ๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋์Œ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.

์ž๋™์œผ๋กœ ํŒŒ์ผ๋“ค์ด ์ƒ์„ฑ๋˜์–ด ์žˆ๋‹ค.

๋งŒ์•ฝ ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ ์‹คํŒจํ–ˆ๋‹ค๋ฉด..?

์•„๋ž˜ ์ฝ”๋“œ ์‹คํ–‰ํ•ด๋ณด๋ฉด ๋จ. ( ์ด๋ฏธ ์ƒ์„ฑํ•˜์‹  ๋ถ„๋“ค์€ ์•ˆํ•ด๋„ ๋จ )

git clone https://github.com/nestjs/typescript-starter.git nest_practice
cd nest_practice
npm i
profile
์‹œ๊ฐ„์ด ๊ฑธ๋ฆด ๋ฟ ๋‚ด๊ฐ€ ๋ชปํ•  ๊ฑด ์—†๋‹ค.

0๊ฐœ์˜ ๋Œ“๊ธ€