1. server
서버 Nodemon 설치
명령어 : npm install nodemon --save

nodemon concurrently 설치
명령어 : npm install nodemon concurrently --save

2. React 클라이언트
React 클라이언트 Nodemon 설명령어 : npm install nodemon --save

nodemon concurrently 설치
명령어 : npm install nodemon concurrently --save-dev

3. React 클라이언트 package.json
내용추가 "dev" : "concurrently \"nodemon server/server.js\" \"npm run start\""

4. 실행 : npm run dev

'개발라이프 > React' 카테고리의 다른 글
1-12. react 회원가입 정보를 Server DB로 데이터 insert (0) | 2022.11.09 |
---|---|
1-11. React 페이지 이동(로그인, 회원가입 페이지 불러오기) React-router-dom (0) | 2022.11.09 |
1-9. Node JS MySQL 데이터 React로 데이터 보내기 및 cors 에러 (0) | 2022.11.09 |
1-8. 웹 개발 props (0) | 2022.10.21 |
1-7. 웹 개발 getElementById 사용 (0) | 2022.10.21 |