Skip to content

A super simple example of a NodeJS + SocketIO server and client

License

Notifications You must be signed in to change notification settings

m3talstorm/socketio-simple-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket.io Simple Server

Build Status

A super simple example of a NodeJS + SocketIO server and client

This acts more of a boilerplate/reminder for toy projects

Install

Node

git clone https://github.com/m3talstorm/socketio-simple-server.git
cd socketio-simple-server/
sudo npm install

Usage

Node

// Start the server
sudo npm start
// Start the client (in another shell)
sudo npm run client

If you want the server to listen on a different port (not 8080) then change the PORT variable in both lib/server.js and lib/client.js

About

A super simple example of a NodeJS + SocketIO server and client

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published