GithubHelp home page GithubHelp logo

built.io-js-sdk's Introduction

built.io JS SDK

(C) Raw Engineering, Inc (www.raweng.com) 2013, Licensed under the MIT-LICENSE

An Javascript SDK for built.io service for node.js (0.6.x and up). Hides most of the complexity of creating, maintaining built.io objects and sessions.

Features

  • Work in Browser as well as in servers (NodeJS)
  • Simple service wrapper that allows you to easily put together All Built.io REST API libraries
  • Easy create Application User
  • Automatic User login,logout with authtoken or username, password
  • Deactivate user in application.
  • Create objects in built.io applications
  • Update objects in buil.io applications
  • Delete Objects in built.io applications
  • Upload Files in built.io server.
  • Model binding for each built.io objects

Example usage

var built = require('built');

built.init(application_api_key,application_uid);

var query = new built.Query('employee'/*class_uid*/);
query.greaterThan('age',30);
query.exec({
  success:function(data,res){
		console.log(data);
	},
	fail:function(data,res){
		console.log(data)
	}
});


var employee=built.Object.extend('employee'/*class_uid*/);
emp1=new employee();
emp1.set({
	name:'jack',
	age:32
});

emp1.set('gender','male');
emp1.save({
	success:function(data,res){
		console.log('object saved');
	}
});
npm install built

built.io-js-sdk's People

Contributors

pradeep-mishra avatar thinknikhil avatar

Watchers

James Cloos avatar Akshay Mhatre avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.