/NodeJS-Chat

A simple chat application I made with Node.js and Socket.io

Primary LanguageJavaScriptMIT LicenseMIT

NodeJS-Chat

A simple chat application I made with Node.js and Socket.io.

Why?

This started out with Socket.io's basic chat application tutorial.

I made this mainly just to try out and learn how to use Node.js and Socket.io.

Setup

Download Node.js from the Node.js downloads page.

Follow these steps to setup and run the chat application on your computer:

  1. Clone this repository and then go to the directory.

    $ git clone https://github.com/NathanCJohnson/NodeJS-Chat.git
    $ cd NodeJS-Chat
    
  2. Use Node Package Manager (included with Node.js) to install the dependencies.

    $ sudo npm install
    
  3. Run the chat application server.

    $ node chat.js
    

If everything worked out properly, you should be able to access the chat application at http://localhost:3000/.