1. 윈도우용 node.js 설치
#전역설치 > C:\Users\user\AppData\Roaming\npm\node_modules
npm install -g express@latest
npm install -g express-generator@latest
npm install -g @vue/cli
#Express설치
express backend --view=ejs > cd backend > npm install > set DEBUG=backend:* > npm start > http://localhost:3000/
#Vue설치
vue create client(폴더) > cd client > yarn serve > http://localhost:8080/
#React설치
npx create-react-app client(폴더) > cd client > npm start > http://localhost:3001/
2. 모듈설치
yarn add express tslib express-formidable express-session mysql mariadb nodemon memorystore morgan cors multer socket.io fs express-fileupload async
3. 참조
$ DEBUG=backend:* npm start // On MacOS or Linux, run the app with this command:
> set DEBUG=backend:* & npm start //On Windows Command Prompt, use this command:
PS> $env:DEBUG='backend:*'; npm start //On Windows PowerShell, use this command:
'vscode' 카테고리의 다른 글
vscode.springboot.setup (1) | 2025.02.04 |
---|---|
vscode.lalavel.setup (0) | 2025.02.04 |
vscode.api.view.setup (0) | 2025.02.04 |