@quarks/voyager-backend-client-nodejs

1.0.79 • Public • Published

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)

Package Sidebar

Install

npm i @quarks/voyager-backend-client-nodejs

Weekly Downloads

3

Version

1.0.79

License

none

Unpacked Size

48.9 kB

Total Files

26

Last publish

Collaborators

  • ademar.carneiro
  • gabriel.campos