teamboard-io is a socket.io based service for Teamboard to enable real-time communication and collaboration.
teamboard-io depends on teamboard-api
to be installed and running. Please refer to the API's README on how to install
and run it. This service depends on having a redis up and
running to be used as a MemoryStore
.
Install with npm:
npm install N4SJAMK/teamboard-io
If you are running this locally for development purposes, NODE_ENV
must be set
to development
. If NODE_ENV
is not set, it defaults to development
.
If you set NODE_ENV
to production
, you must provide the additional
environmental variables:
API_URL
corresponding to a running instance ofteamboard-api
.REDIS_HOST
andREDIS_PORT
corresponding to a running instance ofredis
.
You can also specify PORT
in which the service will then reside, defaults to
9001
.
Run with:
npm start
Run tests with:
npm test