๐Ÿ‘จ‍๐Ÿ’ป kimtongting
article thumbnail
[NestJS] NestJS ์„ค์น˜ํ•˜๊ธฐ(๋‹จ์ˆœ ์„ค์น˜ ๋ฐ ์‹คํ–‰)

NestJS ์„ค์น˜ ์‚ฌ์ „์„ค์น˜ Node.js ๋ฅผ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค. Node.js ๋งํฌ : nodejs.org/ko/ Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. nodejs.org ๋ณธ์ธ์—๊ฒŒ ๋งž๋Š” ๋ฒ„์ „์„ ์„ค์น˜ํ•˜์„ธ์š” : ) ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด, ํ„ฐ๋ฏธ๋„ ์ฐฝ์„ ์—ด๊ณ , ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜์—ฌ ์ œ๋Œ€๋กœ ์„ค์น˜ํ–ˆ๋Š”์ง€ ํ™•์ธํ•ด๋ด…๋‹ˆ๋‹ค. $ node -v NestJS ์„ค์น˜ Node.js๋ฅผ ์„ค์น˜ํ•˜๊ฒŒ ๋˜๋ฉด ๊ธฐ๋ณธ์ ์œผ๋กœ npm์ด ์ž๋™์œผ๋กœ ์„ค์น˜๋˜๋Š”๋ฐ, npm ๋ช…๋ น์–ด๋ฅผ ์ด์šฉํ•ด ์ „์—ญ(-g)์œผ๋กœ nestjs๋ฅผ ์„ค์น˜(i)ํ•ฉ๋‹ˆ๋‹ค. npm i -g @nestjs/cli ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ ์ ๋‹นํ•œ ํด๋”๋ฅผ ๊ณจ๋ผ ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•ด๋ณด๋„๋ก ํ•ฉ๋‹ˆ๋‹ค. ์ €๋Š” ์—ฌ๊ธฐ์„œ 'nestPr..