Skip to content

A server that relays messages sent amongst a collection of Web Sockets.

Notifications You must be signed in to change notification settings

Keevle/Minimal-Engine-relay

 
 

Repository files navigation

Florkestra Web Socket Relay Server

This project provides the basic scaffolding for a Node.js-based application that will:

  • Serve static web resources from the web directory using Express
  • Listen for Web Socket connections on port 8081
  • Relay incoming messages from a Web Socket client to all other connected clients

How To Use It

  1. Fork and clone this repository
  2. Place all your web resources (i.e. scripts, HTML pages, style sheets, etc.) in the web directory
  3. Install all dependencies by running npm install
  4. Start the relay server by running node .
  5. Access your HTML pages from a web browser at http://localhost:8081
  6. Write your own custom code to connect to the relay server using a Web Socket connection at ws://localhost:8081
  7. Send messages messages to the server using your Web Socket; they'll be relayed to all other connected clients

About

A server that relays messages sent amongst a collection of Web Sockets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.6%
  • HTML 12.4%