Dropbox Storage Provider for freedom.js
This provider uses the Dropbox JavaScript SDK to persist data
and exports a provider that conforms to the freedom.js
storage API
Install the dependency through NPM
npm --save freedom-storage-dropbox
This provider requires no build step to use However, remember to install dependencies before running any of the tasks below
npm install
Run the following to try a tictaktoe demo that persists all game stats to Dropbox. Remember to log into Dropbox using the panel on the bottom
grunt demo
Before contributing any pull requests, please remember to run our integration tests by running the following commands
Configure your credentials by creating a config.js
in
the top level directory. config.template.js
shows the required
fields. Once this is ready, run the tests by:
grunt test
If any tests fail, we have a task that helps you debug your code: grunt debug