wedeploy-unstable
v3.0.7
Published
WeDeploy Api
Downloads
8
Readme
WeDeploy SDK for JavaScript
An SDK that gives you access to the powerful WeDeploy cloud platforma from your JavaScript app. For more information on WeDeploy and its features, see the website or the JavaScript guide.
Getting Started
The easiest way to integrate the WeDeploy SDK into your JavaScript project is through the npm module or you can fetch it from our CDN.
Usage
Post
WeDeploy
.url('/data/tasks')
.post({ desc: 'Buy milk' });
Get
WeDeploy
.url('/data/tasks')
.get()
.then(function(clientResponse) {
console.log(clientResponse.body());
});
Data
WeDeploy
.data('http://mydata.dataproject.wedeploy.io')
.get('movies')
.then(function(movies) {
console.log(movies);
});
Setup
npm install
Build
npm run build
npm run build:watch
Test
Test on node.js
npm run test:node
npm run test:node:watch
Test on browser
npm run test:browser
npm run test:browser:watch
Test on both browser and node
npm run test
Test on browser with code coverage
npm run test:coverage
Release
npm run release
License
Copyright (c) 2016-present, Liferay Inc
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.