Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 694 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 694 Bytes

Socket.io Chat

A simple real time chat application

Requirements

Main files

  • index.html - used to import our libraries and layout the client's webpage
  • main.js - client's core functionality that describes functions such as: setName, say and getOnlineUsers
  • server.js - listens and sends data between the connected clients

Installation

  • You must first have Node.js installed with npm
  • Open the command line in this directory (shift right-click)
  • Run npm install

Running the server

  • Run the server with npm start
  • Go to http://localhost:3000/ to open the client