Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 713 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 713 Bytes

CloudLinkWorker for Showcase Mi5

The worker is supposed to get all orders from CloudLink via REST API or MQTT and then execute these tasks on the Showcase Mi5 directly. Therefore the worker will directly access the Recipe Tool. He will also watch the order for completion and report back to the CloudLink via REST API.

Installation

npm install

Usage

npm start

or

node app.js

Development

npm test

Note: for some tests you need a proper configured config.js file

Mocha is used as a test framework, since it has a very nice integration in the Webstorm IDE.

Devevelopment Packages:

  • grunt is used as a task runner to execute mocha
  • chai-as-promised is used for promise support