@quarks/voyager-backend-client-nodejs
v1.0.79
Published
Voyager Backend client for Node.js
Downloads
50
Readme
Voyager Backend client for Node.js
Install
$ npm install @quarks/voyager-backend-client-nodejs --save
Configure
new VoyagerBackend(config)
var VoyagerBackendClient = require('@quarks/voyager-backend-client-nodejs');
// If the client has been pre-registered, pass the url to constructor
var client = new VoyagerBackendClient({
url: 'https://voyager.quarks-ecosystem.io',
token: '<ACCESS_TOKEN>'
})
Ex:
#### Templates
#### GET - client.templates.list()
#### GET - client.templates.find(qs)
#### POST - client.templates.create(data)
#### PUT - client.templates.update(id, data)
#### DELETE - client.templates.delete(id)