Skip to content

jakemoves/cohort-websocket-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cohort-websocket-client

A barebones WebSocket client for Cohort to facilitate testing

Getting started

  • clone the repo
  • npm install

Usage

This tiny node app mimics a Cohort client (device) connecting to an occasion to receive cues.

From the command line: node app.js --occasion [occasion ID]

By default, the app connects to a Cohort server running locally. You can override this by specifying an 'env' flag: node app.js --occasion 3 --env staging

About

A barebones WebSocket client for Cohort to facilitate testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published