/vueSocketChatroom

vue2.x + vue-router2.x+ vuex2.x + vux2.x + express + socket.io immediate chat room

Primary LanguageJavaScriptMIT LicenseMIT

socket.io immediate chat room

中文文档

online preview(username: blue, password: huimin)

glance

  • login page

    login page

  • group chat page

    group chat page

  • others list

    others

  • private chat page

    private chat

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