Skip to content

cwazai/wx_chat

 
 

Repository files navigation

wx_chat

模拟微信界面实现一个简单的聊天室,后端服务采用nodejs+ws模块搭建websocket服务。前端简介采用vue.js+vuex,less,pug等编写。

后端代码位于 /server 目录下, 注意ws模块依赖(npm install ws)

node serve.js

前端 Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

项目至此暂不准备添加新功能。后端只提供一个websocket服务,没有存储任何信息,前端数据存储在sessionStorage以及localStorage中。顶部链接不能连接后端服务,可以在这个地址看效果(ip):演示链接

About

仿微信web界面简单聊天

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 59.6%
  • Vue 22.2%
  • CSS 16.8%
  • HTML 1.4%