부트캠프 과정에서 직접해보면서 스크린샷을 많이 찍어뒀는데, 과제 해결로 바빠서 미뤄뒀더니 바탕화면이 스크린샷으로 꽉차버렸다...
일단 npm 설치 명령어 일부만 정리해보아야겠다.
+ npm 최신 버전에서는 npm init 이라는 명령어를 생략하면 모듈 설치가 정상적으로되지 않는다고 하니 참고할 것!
(프로젝트 생성 후 new terminal에서 npm init 명령어 입력하여 초기화 진행 후 필요한 모듈을 설치하면 되는 것 같다.)
1. npm i express -S : Express 설치 명령어
2. npm i mongoose -S : mongoose 설치 명령어
3. npm i jsonwebtoken -S : jsonwebtoekn 설치 명령어 (제일 사용량이 많은 오픈 소스 라이브러리라고함)
4. npm install axios cheerio iconv-lite -s : 크롤링 도구 설치 명령어
5. npm i sequelize mysql2 -S : Sequelize를 설치해서 Node.js 코드에서 sequelize를 사용할 수 있게하는 명령어
6. npm i sequelize-cli -D : Sequelize 의 쉬운 사용을 도와주는 도구를 설치하는 명령어
npm
Bring the best of open source to you, your team, and your company Relied upon by more than 11 million developers worldwide, npm is committed to making JavaScript development elegant, productive, and safe. The free npm Registry has become the center of Java
www.npmjs.com
'Framework | Test > Node.js' 카테고리의 다른 글
[Node.js] Node.js 란 무엇인가? (0) | 2022.02.26 |
---|---|
[Node.js] 설치 및 환경설정 (Windows) 🔨 (0) | 2021.11.15 |