https://github.com/darinm223/node-chat-app
Old chat application project made a while ago
https://github.com/darinm223/node-chat-app
Last synced: 5 months ago
JSON representation
Old chat application project made a while ago
- Host: GitHub
- URL: https://github.com/darinm223/node-chat-app
- Owner: DarinM223
- Created: 2014-06-18T20:44:44.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-06-05T11:05:30.000Z (about 11 years ago)
- Last Synced: 2026-01-24T00:50:27.707Z (7 months ago)
- Language: HTML
- Homepage:
- Size: 2.55 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Basic chat client/server using Socket.io
========================================

This is my first project using Node.js and Socket.io
Basic Functionality
-------------------
Chat messages are shown in the list on the left and the most recent
message is at the top. The labels on the private messages use the format
**[sender of message] [receiver of message] message**
Logged in users other than yourself are shown in the list on the right.
Clicking on a user and then sending a message will send a private message
to that user only. You can select multiple users to send a message to.
Installation
------------
###Requirements: mongodb
###Tested on: Ubuntu 12.04, Ubuntu 14.04, Windows 8 64-bit
After you clone the repository, you need to install all of the dependencies first
(in directory of the cloned repository)
npm install
Finally, to run the chat server:
node index.js
Then open the browser and enter http://localhost:3700/
There are other options to run the server. If you run the server using the
**supervisor** plugin you won't need to restart the server whenever you make changes
to the node javascript files. To do that enter:
For Ubuntu:
npm start
For Windows:
node_modules\.bin\supervisor index.js
Testing
-------
To run all of the unit tests, enter:
For Ubuntu:
npm test
For Windows:
node_modules\.bin\mocha
Make sure that Mongodb is running before running the tests, since they need a sample
database to test login/signup functionality.