VsCode Node.js 프로젝트 생성하기
1.새폴더를 생성하여 위치잡아주기
2.node.js 설치하기
https://nodejs.org/en/download/
Download | Node.js
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
nodejs.org
3.생성된 폴더의 vscode의 터미널 or 내컴퓨터의 폴더에서 powershell 띄우기
가볍게 버전체크
4.npm init
npm 패키지 생성인 npm init 을 입력하고
is this ok?가 나올때까지 엔터칩니다.
5.npm install --save express
node의 http기반 프레임워크인 express를 설치합니다.
반응형
최근댓글