Code Monkey home page Code Monkey logo

cr's Introduction

CHATROOM—CR

在线地址:http://cr.mdzzapp.com

最新内容

  • 上传新版koa后端代码
  • 前端改用socket.io
  • 优化拖拽组件
  • 解决移动端声音无法播放问题

下版内容预告

  • 使用immutable.js
  • 增加设置界面
  • login与signup整合到react中

功能列表

  • 实现群聊私聊
  • 实现图片表情包
  • 实现机器人陪聊
  • 实现桌面提醒,音效提醒
  • 实现特别关注
  • 实现屏蔽功能
  • 实现图片黏贴发送功能

技术栈

  • react
  • redux
  • bable
  • webpack

store结构说明

|--pageState // 控制页面ui状态
|--userState // 存放用户登录信息
|--onlineUsers // 存放在线用户信息
|--messages // 存放消息
|--privateMessages // 存放私聊消息
|--setting // 存放设置
|--imageSlide //存放图片信息,查看图片使用
|--storageExpressions //存放表情包

移动端效果展示

机器人:

x1

登录&注册界面:

x2

菜单栏:

x3

好友设置:

x4

个人设置:

x5

图片查看

x6

图片表情包

x7

title提醒

x8

安装

  1. cd CR
  2. npm install
  3. npm client-start 打包前端
  4. npm start 开启server,访问 http://localost:3000

tips:

  1. 在安装使用之前先修改数据库信息 mongodb:server/config/mongo-config.js,mysql暂不支持
  2. 如果遇到bcrypt无法install可用bcrypt-nodejs代替

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.