Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 966 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 966 Bytes

Chatapp

Demo Chat App using Node.js, Express and Socket.io

Demo:

Installation

The code for the chat app can be found at the public GitHub repo . Either clone the repo to a local folder on your machine or download and extract the archive if you don't have Git installed.

Open a terminal window session, or the equivalent on your machine, and enter the following command to install all the Node modules needed to run the app:

npm install

Run the app in development mode

After doing an npm install enter the following npm run command:

npm run dev

This will start the app and set it up to listen for incoming connections on port 8000. Open up your browser of choice and go to the url http://localhost:8000/ to start using the app itself. The npm run dev command automatically runs the app using the nodemon script so any changes you make to the app's javascript, CSS or HTML code will automatically restart it.