Home

Awesome

socket.io immediate chat room

中文文档

glance

install dependencies

  1. node7.x

  2. auto restart node server tool

npm i -g nodemon
  1. QA tool

    install eslint plugin for your code editor(like "eslint" in vscode)

download

# clone
git clone git@github.com:Chanran/vueSocketChatroom.git
cd vueSocketChatroom

# install dependencies
npm install -d

start

npm run dev
npm run server # open another terminal

visit http://localhost:8080/

deploy

npm install -g pm2 # install just once
npm i -d --production
npm run build
npm run deploy

tech docs

License

MIT