-
node7.x
-
auto restart node server tool
npm i -g nodemon
-
QA tool
install eslint plugin for your code editor(like "eslint" in vscode)
# clone
git clone [email protected]:Chanran/vueSocketChatroom.git
cd vueSocketChatroom
# install dependencies
npm install -d
npm run dev
npm run server # open another terminal
visit http://localhost:8080/
npm install -g pm2 # install just once
npm i -d --production
npm run build
npm run deploy