Skip to content

HuyVQ18411c/massive-q

Repository files navigation

MassiveQ - Public chat - A happy project with WebSocket

A simple WebSocket server to create a public chat room. This project is created for learning purposes, getting to know what is WebSocket, how it is being used in an application. You can freely use this repository.

Tech stacks

  • NodeJS (v17.x.x)
  • HTML/CSS/JS

Node modules

  • ExpressJS + WS: Simple server for hosting WebSocket
  • Winston: Logging module for tracking information on the server

Installation

  • Clone the repository
  • Run npm install
  • Start server npm start
  • Checkout your localhost:8080
  • Enjoy!

You can check out my example on Heroku here: MassiveQ

Under research and development:

  • Private chat room: connect 2 random persons into a room. From my research, WebRTC will be a good way to implement this functionality, it could help us to build more than just a message chat (video call). However, I still have so much to learn! Go with me.