Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 767 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 767 Bytes

Foglet - Signaling Server

Build Status

Keywords: Simple Signaling server, foglet-core

This project aims to provide a simple signaling server for foglet-libs and a support for karma in order to not rewrite the signaling server each time

Install

npm install foglet-signaling-server

Usage

To run the signaling server,

cd foglet-signaling-server
npm install
npm start

To use the server with karma

const signaling = require('foglet-signaling-server');

module.exports = function (config) {
	config.set({
		...
		expressHttpServer: {
			port:4001,
			appVisitor: signaling
		}
	})
};