Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 989 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 989 Bytes

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