This is the official SDK for Appstax. Please read the JavaScript Guide to get up and running.
Download the latest release and include appstax.js in your app.
Or, if you are using bower.io or npm to manage your javascript packages:
> bower install appstax --save
> npm install appstax --save
appstax.init("your-app-key");
var contact = appstax.object("contacts");
contact.name = "John Appleseed";
contact.email = "john@appleseed.com";
contact.save();
See the JavaScript Guide for more info on how to set up your app and data model.
Prerequisites:
- Install node/npm via nodejs.org or a package manager like Homebrew
- Install gulp with
npm install -g gulp
How to build:
> npm install
> gulp bundle
The bundle will be availble in ./build/appstax.js
In addition to gulp
you also need bower
:
> npm install -g bower
First you build the appstax.js bundle as described above, then you go to the examples folder and build/run:
> cd examples/notes
> npm install
> bower update
> gulp serve
... and point your browser to http://localhost:9000/
> npm test