Skip to content

Simple Node.JS server which provides a realtime chat throught Socket.io

Notifications You must be signed in to change notification settings

MMaier96/Realtime-WebsocketChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Websocket Chat

Screenshot

Screenshot

Requirements

Make sure that the latest version of node.js/npm is installed.
You can check the current version of node.js/npm by typing the following into you systems command line

$ node --version			// shows the current version of node.js
$ npm  -- version			// shows the current version of npm

Starting the Server

Before running the server, you need to install the modules used for this project:

$ npm install			// install all node.js modules

To start the webchat using the node.js command line you need to run:

$ npm start			// starts the server with node.js

Or start the webchat as developer to restart the server automatically if the code has changed. Make sure you have installed nodemon as a developer tool first:

$ npm install -g nodemon		//install nodemon as developer tool

After installing you can run the server with nodemon:

$ nodemon server			//.js is optional

Used Packages (npm)

express

Fast, unopinionated, minimalist web framework
Website: https://www.npmjs.com/package/express

nodemon (developer only!)

Simple monitor script for use during development of a node.js app.
Website: https://www.npmjs.com/package/nodemon

socket.io

node.js realtime framework server
Website: https://www.npmjs.com/package/socket.io

About

Simple Node.JS server which provides a realtime chat throught Socket.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published