Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xrystalll/gochat_2
Chat app built with nodejs, socket.io and mongodb
https://github.com/xrystalll/gochat_2
chat cloud-db express jquery mongodb mongoose multer nodejs socket-io voice-messages
Last synced: 2 months ago
JSON representation
Chat app built with nodejs, socket.io and mongodb
- Host: GitHub
- URL: https://github.com/xrystalll/gochat_2
- Owner: xrystalll
- License: apache-2.0
- Created: 2020-01-02T18:31:54.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T19:08:44.000Z (about 2 years ago)
- Last Synced: 2024-04-25T14:42:29.563Z (8 months ago)
- Topics: chat, cloud-db, express, jquery, mongodb, mongoose, multer, nodejs, socket-io, voice-messages
- Language: JavaScript
- Homepage: https://stormy-beach-84799.herokuapp.com/
- Size: 1.04 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# GOchat 2
![GOchat 2](/gochat2_screen.png)## 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.zipgo 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 `