Catalog npm
Back to packageRELEASE DETAILS

0.0.4

npm

28.io-angularjs

AngularJS bindings for 28.io.

clouddevjsoniqxquery
Published6 Oct 2015
Direct dependencies26
Transitive dependenciesNot calculated

README

Current package documentation

28.io AngularJS Binding

Build Status Code Climate

28.io-angularjs is an officially supported AngularJS binding for 28.io. 28.io is a query processing platform that allows you to write complex queries accross multiple data sources - relational databases; document stores, data warehouses and even web services.

We also have tutorials and an REST API reference.

Join our 28.io Support Group to ask questions and provide feedback.

Installation

Via Bower

$ bower install 28.io-angularjs --save

API Documentation

http://28msec.github.io/28.io-angularjs/3.1.0/

Example

angular.module('myApp', ['auth.api.28.io', 'queries.api.28.io'])
.controller('AppCtrl', function($scope, $cacheFactory, Auth, Queries){
    
    var projectName = 'myproject';
    var auth = new Auth('http://portal.28.io', $cacheFactory('Auth'));
    var queries = new Queries('http://' + projectName + '.28.io/v1', $cacheFactory('Queries'));

    auth.authenticate({ grant_type: 'client_credentials', email: $scope.login, password: $scope.password })
    .then(function(tokens){
        var projectToken = tokens.project_tokens['project_' + projectName];
        queries.listQueries({ visibility: 'public', token: projectToken })
        .then(function(publicQueries){
                $scope.publicQueries = publicQueries;
        })
        .catch(function(error){
            alert('Server replied: ' + error.description);
        });
    })
    .catch(function(error) {
        alert('Server replied: ' + error.description);
    });
});

Development

If you'd like to hack on 28.io-angularjs itself, you'll need node.js, and Bower:

npm install && bower install

Use grunt to build and test the code:

# Default task - build source and then runs unit tests
grunt

##License
Apache 2

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 26

Native requirements
26 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
grunt
Environment
{
  "local_name": "grunt",
  "alias": false,
  "peer_metadata": null
}
~0.4.2development
grunt-contrib-jshint
Environment
{
  "local_name": "grunt-contrib-jshint",
  "alias": false,
  "peer_metadata": null
}
~0.9development
grunt-contrib-clean
Environment
{
  "local_name": "grunt-contrib-clean",
  "alias": false,
  "peer_metadata": null
}
~0.5.0development
grunt-contrib-uglify
Environment
{
  "local_name": "grunt-contrib-uglify",
  "alias": false,
  "peer_metadata": null
}
~0.2.0development
grunt-contrib-copy
Environment
{
  "local_name": "grunt-contrib-copy",
  "alias": false,
  "peer_metadata": null
}
~0.4.1development
karma
Environment
{
  "local_name": "karma",
  "alias": false,
  "peer_metadata": null
}
~0.12.0development
grunt-karma
Environment
{
  "local_name": "grunt-karma",
  "alias": false,
  "peer_metadata": null
}
~0.8.0development
grunt-cli
Environment
{
  "local_name": "grunt-cli",
  "alias": false,
  "peer_metadata": null
}
~0.1.8development
phantomjs
Environment
{
  "local_name": "phantomjs",
  "alias": false,
  "peer_metadata": null
}
~1.9.2-2development
time-grunt
Environment
{
  "local_name": "time-grunt",
  "alias": false,
  "peer_metadata": null
}
~0.1.1development
load-grunt-tasks
Environment
{
  "local_name": "load-grunt-tasks",
  "alias": false,
  "peer_metadata": null
}
~0.2.0development
grunt-karma-coveralls
Environment
{
  "local_name": "grunt-karma-coveralls",
  "alias": false,
  "peer_metadata": null
}
~2.0.2development
grunt-contrib-concat
Environment
{
  "local_name": "grunt-contrib-concat",
  "alias": false,
  "peer_metadata": null
}
~0.3.0development
grunt-jsdoc
Environment
{
  "local_name": "grunt-jsdoc",
  "alias": false,
  "peer_metadata": null
}
~0.5.1development
grunt-gh-pages
Environment
{
  "local_name": "grunt-gh-pages",
  "alias": false,
  "peer_metadata": null
}
~0.9.0development
karma-script-launcher
Environment
{
  "local_name": "karma-script-launcher",
  "alias": false,
  "peer_metadata": null
}
~0.1.0development
karma-phantomjs-launcher
Environment
{
  "local_name": "karma-phantomjs-launcher",
  "alias": false,
  "peer_metadata": null
}
~0.1.2development
karma-chrome-launcher
Environment
{
  "local_name": "karma-chrome-launcher",
  "alias": false,
  "peer_metadata": null
}
~0.1.2development
karma-firefox-launcher
Environment
{
  "local_name": "karma-firefox-launcher",
  "alias": false,
  "peer_metadata": null
}
~0.1.3development
karma-html2js-preprocessor
Environment
{
  "local_name": "karma-html2js-preprocessor",
  "alias": false,
  "peer_metadata": null
}
~0.1.0development
karma-jasmine
Environment
{
  "local_name": "karma-jasmine",
  "alias": false,
  "peer_metadata": null
}
~0.1.5development
requirejs
Environment
{
  "local_name": "requirejs",
  "alias": false,
  "peer_metadata": null
}
~2.1.11development
karma-requirejs
Environment
{
  "local_name": "karma-requirejs",
  "alias": false,
  "peer_metadata": null
}
~0.2.1development
karma-coverage
Environment
{
  "local_name": "karma-coverage",
  "alias": false,
  "peer_metadata": null
}
~0.2.1development
grunt-swagger-js-codegen
Environment
{
  "local_name": "grunt-swagger-js-codegen",
  "alias": false,
  "peer_metadata": null
}
0.4.2development
grunt-jsonlint
Environment
{
  "local_name": "grunt-jsonlint",
  "alias": false,
  "peer_metadata": null
}
~1.0.4development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "644ff40e66831e5e550144988131691e1c92a7be",
  "tarball": "https://registry.npmjs.org/28.io-angularjs/-/28.io-angularjs-0.0.4.tgz",
  "integrity": "sha512-c3NexNXAmjtqB99ogeDCxVto+ssn0uZCE9InpQ3e/NYA17uLMLI8Qv/6jAOy0MXnW07Le8VG3Kxxk/4ahenWjg==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIGulOrTiUvGD/pY2H5D2ScICxt+3lTc1bv7g9HM8YgDQAiBs7kVvD2T7psPvScbbrGTVyZneP4RS2uShwvLycDmjOw=="
    }
  ]
}

Repository

PENDING
28msec/28.io-angularjs

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:07 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:b597541e71c41af2bab1a5f63debf2e9d3d5a33f212607cc9ecc92e6f16ad415

Other collected versions

View all collected versions →