A simple real time chat application
- 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
- You must first have Node.js installed with npm
- Open the command line in this directory (shift right-click)
- Run
npm install
- Run the server with
npm start
- Go to
http://localhost:3000/
to open the client