最新版已转移到NMAI--->
Switch branches/tags
Clone or download
Latest commit f71c72f Jun 2, 2017
Permalink
Failed to load latest commit information.
app fix: fix socket init Jun 2, 2017
server remove bundle Dec 15, 2016
.gitignore chore: Dec 15, 2016
README.md fix: fix the title of readme May 7, 2017
package.json feat: update anim module May 22, 2017
webpack.config.js fix: babel the explode plugin Nov 16, 2016

README.md

A Real-Time Chat Room Built with React

Online demo:http://cr.mdzzapp.com

Updates

Features

  • Register user, login and logout, private chat, group chat, browse history
  • Create group, join group, search user, search group
  • Send image, bookmark image, image galleries
  • Customize avatar, modify and browse personal information
  • Desktop notification, sound notification, title icon notification
  • Block and follow user
  • Switch notification and fullscreen, customize background image
  • Plugin system

Screenshot

x3

Install

git clone https://github.com/redsx/CR.git
cd CR
npm install
npm run-script client-start # pack front-end code
npm start # open server, open http://locahost:3000

Tips:

  • Check whether you installed the mongodb and the nodejs(v6.0+) before running the project.
  • If the port number of your mongodb is not 54321, you should change the PROT variable in ./server/config/mongo-config.js to it before running npm start.
  • If you fail to install the bcrypt, you can use bcrypt-nodejs to replace it. If you do so, please follow the comments in ./server/controller/user.js to change the parameters.

Route Map

  • Build an android edition with rn
  • Sending code function