cd api
npm start
Default port: 4001
cd client
npm install # only if missing node_modules
yarn add semantic-ui-react # if run `npm install`
yarn add rough-charts # if run `npm install`
npm start
Default port: 3000
Navigate to http://localhost:3000 in your browser.
cd api
npm start
Default port: 4001
cd client
npm install # only if missing node_modules
yarn add semantic-ui-react # if run `npm install`
yarn add rough-charts # if run `npm install`
npm run build
Navigate to http://localhost:4001 in your browser.
-
Create project structure based on the tutorial: How to create a React frontend and a Node/Express backend and connect them
-
Add
socket.io
based on the tutorial: Real Time Web App | React.js + Express + Socket.io