Express chat app with react redex react router and socket.io
First make sure you have installed Nodejs
(5.0+), then clone this repo and cd
to the project directory and run npm install
.
Run npm start
from the project root directory.
This will load your server on http://localhost:3000
-
Open another session in terminal, and use the command below to start express server with
nodemon
and:Run
npm run dev1
ornpm run dev-server
from the project root directory. This will load your server on http://localhost:3000 -
Use
nodemon
andwebpack
andBrowsersync
to pack the client js:Run
npm run dev2
ornpm run dev-webpack
from the project root directory. Browsersync will load your server on http://localhost:3100 but you can see the non reloading server on http://localhost:3000