Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
kinvey-backbone-sdk
Advanced tools
Kinvey (pronounced Kin-vey, like convey) makes it ridiculously easy for developers to setup, use and operate a cloud backend for their mobile apps. They don't have to worry about connecting to various cloud services, setting up servers for their backend, or maintaining and scaling them.
This npm package makes it very easy to connect your BackboneJS app with Kinvey.
To use the SDK, sign up for Kinvey if you have not already done so. Go to the sign up page, and follow the steps provided.
You can install the package using npm:
npm install kinvey-backbone-sdk --save
or
use our DevCenter Download Page to download the SDK and save it to a file named kinvey-backbone-sdk.js
in your project.
If you installed the SDK with npm, include the sdk in your code using require
.
var Kinvey = require('kinvey-backbone-sdk');
If you downloaded the SDK and saved it to a file, add a script tag to your main html file to load the SDK.
<script src="path/to/kinvey-backbone-sdk.js"></script>
Next, use Kinvey.initialize()
to configure your app in your main JS file. Replace <appKey>
and <appSecret>
with your apps app key and secret. You can find these for your app using the Kinvey Console App.
Kinvey.initialize({
appKey: '<appKey>',
appSecret: '<appSecret>'
})
.then(function(activeUser) {
// ...
});
You are now ready to start building your awesome apps! Next we recommend diving into the User guide or Data store guide to learn more about our service, or explore the sample apps to go straight to working projects.
Execute npm run build
to build the package.
TravisCI will deploy the pacakge to NPM.
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
. See Version Management for more info on incrementing the version.Updating the package version should follow Semantic Version 2.0.0:
Note: Before running any tests you will need to run npm install
to install any dependencies required.
The steps for running the unit tests is as follows:
npm test
.The steps for running the end to end tests is as follows:
npm run e2e:server
. Keep this terminal window open.Requirement: Execute npm install -g yo generator-kinvey-html
to globally install Yeoman and generator-kinvey-html. You only need to do this once.
npm run e2e:app
. Keep this terminal window open.npm run e2e:test
.See LICENSE for details.
See CONTRIBUTING.md for details on reporting bugs and making contributions.
3.8.1 (2017-08-25)
Full Changelog<br/>
None
None
None
None
FAQs
Kinvey JavaScript SDK for BackboneJS application.
We found that kinvey-backbone-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.