This is the Node.js library that wraps the HTTP and WebSocket API provided by Respoke.
JavaScript HTML
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.editorconfig
.gitignore
.jscsrc
.jshintrc
.travis.yml
Gruntfile.js
LICENSE
README.md
docs.jade
index.js
package.json

README.md

NPM Version Build Status

respoke-admin

This wraps the Respoke HTTP and WebSocket API's for use in a Node.js app or server.

Usage

Install using npm.

npm install --save respoke-admin

Documentation

Testing

Before you can run the functional tests you will need to complete the following steps.

  • create a test app in the your admin portal at respoke.io
  • turn off dev mode
  • create a new blank role (name value is not important)
  • cp spec/config.example.json spec/config.json
  • fill in the information in the spec/helpers.js file

There are several commands to run the tests.

# run all tests
npm test

# run all tests with extra debug output
npm run debug-test

# run only unit tests
npm run unit

# run only functional tests
npm run functional

Building and viewing the source documentation

npm run docs

License

Copyright 2014-2016, Digium, Inc. All rights reserved.

This source code is licensed under The MIT License found in the LICENSE file in the root directory of this source tree.

For all details and documentation: https://www.respoke.io