gochat_2
Chat app built with node.js, socket.io and mongodb
Last updated 3 months ago by xrystalll .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gochat_2 
SYNC missed versions from official npm registry.

GOchat 2

GOchat 2

Features

  • Real-time messages
  • Users online counter
  • Typing indicator
  • Uploading user avatar
  • Uploading and sending images and other files from device
  • Sending images by url from internet
  • Catching links in text
  • Link preview
  • Deletion self messages
  • Clearing all messages via command with password
  • Quote messages
  • Sending videos by url from internet
  • Browser notifications
  • Voice messages

Install

clone repo via git git clone https://github.com/xrystalll/GOchat_2.git

or download https://github.com/xrystalll/GOchat_2/archive/master.zip

go to project path cd GOchat_2

install dependencies npm install

create cluster on https://mongodb.com and change url on config file

(if you don't want to use the mongoDB cloud database then you need to install it on your computer or server. More information at https://mongodb.com)

Run

npm start

or

npm run dev via nodemon

and open in browser https://localhost:3000

Others

Config file description

  • port - Default port for server
  • localdb (true/false) - If the flag is 'true', then is used local database. Default 'false' - cloud DB
  • mongolocal - Url of local DB
  • mongoremote - Url of cloud DB
  • maxsize - Max size of uploaded user files
  • password - Password for clearing all messages via command /clear <PASSWORD>

Current Tags

  • 2.1.1                                ...           latest (3 months ago)

3 Versions

  • 2.1.1                                ...           3 months ago
  • 2.1.0                                ...           3 months ago
  • 2.0.0                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (11)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |