Skip to content

BaseMax/socketio-chat-application-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket.IO Chat Application Nodejs

WebSocket Chat asynchronous communication application for online live concert. (Nodejs)

Socket.IO Chat Application Nodejs

Features

  • Live Websocket (socketio)
  • Asynchronous communication (nodejs)
  • Allow-Origin headers
  • HTTP and HTTPS (WS and WSS socket)
  • Self-signed certificate
  • Support UTF-8 (Arabic, Persian, etc)
  • Some options (reconnection attempt, timeout, reject)

Install dependencies

Easily install all:

yarn install

or manualy:

npm install fs
npm install http
npm install https
npm install socket.io

You can also install dependencies with the help of Yarn:

yarn add fs
yarn add http
yarn add https
yarn add socket.io

Start and serve server socket

Move client files into Web-Server root directory:

cd client/
mv index.html /usr/share/nginx/html/
mv script.html /usr/share/nginx/html/

Start server-side socket:

cd server/
node serve.js 

The purpose of this project

We needed to implement a chat service in the shortest time. Because Mehrad Hidden concert was going to be held soon and the band RadLive needed to have this platform without any problems or violations.

Therefore, thousands of people needed to be able to use this chat at the same time. https://radlive.me/

Concert Team

Band:

Background Sercices:


Max Base

My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base)

Asrez Team

A team includes some programmer, developer, designer, researcher(s) especially Max Base.

Asrez Team

Releases

No releases published

Packages

No packages published