Skip to content

This SDK is deprecated - NodeJS module to allow use of BackAnd Apis

Notifications You must be signed in to change notification settings

backand/nodejsbknd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.Js sdk for Backand

###NOTE - This SDK is deprecated, please use our new SDK at https://github.com/backand/vanilla-sdk

NodeJS module to allow use of BackAnd Apis

Allow users to perform authentification and simple action over Backand

Instructions

npm install

Example

var BackandSdk = require("backandsdk/backand");
var backand = new BackandSdk();

// anonymous authetication
backand.anoymousAuth('08fd510a-4b52-43fa-938f-f2c841bd3106')
    .then(function(){
        backand.get('/1/objects/todo?pageSize=1&pageNumber=1').then(function(data){
            console.log('anoymousAuth Data: ',data);
        });
    });


// authentication with user and password
backand.auth({ username:'test@angular2.com', password:'angular2', appname:'angular2' })
    .then(function(){
        backand.get('/1/objects/todo?pageSize=1&pageNumber=1').then(function(data){
            console.log('auth Data: ',data);
        });
    });

About

This SDK is deprecated - NodeJS module to allow use of BackAnd Apis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%