Machinary
Machinary's a modular real-time data synchronization API. You can read all our documentation at https://docs.machinary.ninja/
Store all data you need for an improved connection and use them wherever you want.
To Start a new project on machinary it is necessary install machinary.
Installing Machinary
$ npm install -g machinary
Installing rethinkdb.
You need to install rethinkdb to run as machinary's database. Access http://rethinkdb.com/install
Starting a new project with machinary
$ machinary init <folder>
Authenticating
Listing Autentications
$ cd ./<your-project>$ machinary auth list
Creating a new authentication
$ cd ./<your-project>$ machinary auth new -PUDG --addr *
It will return you a new authentication and token that you can use at your project.
Runing the new project
$ machinary start
It will start at the port 9500
.
Installing the API on your project.
On JavaScript
Include our library in your project:
Using at javascript project
var auth = ;var machine = ;
Example:
var auth = ;var machine = ;
Saving data at the database.
machine;