3.0.7 • Published 8 years ago
wedeploy-unstable v3.0.7
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 installBuild
npm run buildnpm run build:watchTest
Test on node.js
npm run test:nodenpm run test:node:watchTest on browser
npm run test:browsernpm run test:browser:watchTest on both browser and node
npm run testTest on browser with code coverage
npm run test:coverageRelease
npm run releaseLicense
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.