基于react的在线实时聊天室
最新内容
- 增加群组功能
- 增加用户搜索群组搜索
- 支持自定义背景,创建群组
- 对ui和动画进行了修改
- 增加查看历史记录功能
基础功能
- 创建用户、登入登出、群聊、私聊、历史纪录
- 图片发送、收藏表情、图片幻灯片浏览、下载图片
- 个人信息查看、修改
- 桌面提醒、声音提醒、title提醒
- 个人设置屏蔽、特别关注等
- 系统设置音效、全屏,背景,桌面提醒等
效果展示
安装
git clone https://github.com/redsx/CR.git
cd CR
npm install
npm run-script client-start //打包前端
npm start //开启server,访问 http://localost:3000
tips:
- 运行程序前先检查你是否安装mongodb、nodejs(v6.0以上)
- 如果你mongodb端口号不是
54321
,请在npm start
之前修改文件./server/config/mongo-config.js
PORT为你mongodb端口号 - 如果遇到bcrypt无法install可用bcrypt-nodejs代替,替换后函数参数会有略微不同,在
./server/controller/user.js
文件中已注释说明
下版内容
- 准备使用RN开发安卓版
- 代码发送功能