https://github.com/syncano/syncano4-js
https://github.com/syncano/syncano4-js
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/syncano/syncano4-js
- Owner: Syncano
- Created: 2015-01-23T13:39:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-04T18:08:17.000Z (over 9 years ago)
- Last Synced: 2025-02-22T09:47:46.680Z (4 months ago)
- Language: JavaScript
- Size: 604 KB
- Stars: 1
- Watchers: 19
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Syncano javascript library v 4.0 alpha
## JavaScript QuickStart Guide
You can find quick start on installing and using Syncano's JS library in our [documentation](http://docs.syncano.com/v1.0/docs/javascript).
For more detailed information on how to use Syncano and its features - our [Developer Manual](http://docs.syncano.com/v1.0/docs/getting-started-with-syncano) should be very helpful.
In case you need help working with the library - email us at [email protected] - we will be happy to help!
## Directory structure:
* lib/ - js library
* examples/browser - examples for browser (in form of web page)
* examples - example projects## To run code samples
First, you need a Syncano account.
To create one please follow these steps:* open `examples/node/createAccount.js` in your favourite editor and fill your data (email, password and name)
* `cd examples/node`
* `npm install`
* `node createAccount.js`
* create `examples/browser/js/config.js` file and place the structure returned by createAccount.js in it:```javascript
var Config = {
instance: '...',
email: '...',
password: '...',
apiKey: ''
};
```* download latest jquery and put it in `examples/browser/vendor/jquery.js`
* open `examples/browser/index.html` file
* press the `Connect with email/password` button
* button should become green in a second and you'll see an apiKey in the site header
* put this apiKey in previously generated config.jsPhew! Now you have your own account and instance and you are ready to play with api. Simply reload `examples/browser/index.html` and play with buttons.
## Docs
Generate docs with yuidoc
```
yuidoc -o docs lib/
```