/Chat-App

Primary LanguageJavaScript

Chat Web-App


Chat web app - This web app uses socket io to allow seamless realtime communication and helps setup a LAN chat between users.



👨‍💻 Techstack

  • React
  • Javascript
  • HTML
  • Bootstrap
  • Socket io
  • Mongo db

My Skills




💻 Code setup

Clone the code repository

git clone https://github.com/pk1018/Chat-App.git

Client setup

Run the commands from the base folder

cd client
npm install
npm run dev

Server setup

Modify the mongo db url in the environment variable file (.env) After this run the following commnands from the base folder

cd ..
cd server
npm install
nodemon

Socket setup

view socket io docs for further reference

cd ..
cd socket
npm install
nodemon




:accessibility: Socket io synopsis

Socket io docs
Above is the link for the socket io docs

Socket.IO enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed. Socket.IO is built on top of the WebSockets API (Client side) and Node.js. It is one of the most depended upon library on npm (Node Package Manager).


Main callbacks, events used:

  • to
  • emit
  • on




👩‍💻Contributors

Team members