Updated Node.js npm module & Example app.
11 Feb 2020
mark.byers
We've just updated the mydigitalstructure npm module and example app code to use the same methodologies as used in the browser js based mydigitalstructure library - see https://learn.mydigitalstructure.cloud.
So now the same code that you create for the browser can be more easily implemented as Node.js code;
ie using:
- .init() to initialise and log on using settings.json
- .add() & .invoke() to add & invoke code to the controller layer
- .set() & .get() to store data locally
- .cloud.retrieve(), .cloud.save() etc to store data on mydigitalstructure.cloud
The example app code (with commenting) is @
https://github.com/ibcom/mydigitalstructure-sdk-nodejs
And a getting started page @
http://docs.mydigitalstructure.cloud/gettingstarted_nodejs