1- <img src =" https://raw.githubusercontent.com/js-data/js-data/prototype /js-data.png " alt =" js-data logo " title =" js-data " align =" right " width =" 64 " height =" 64 " />
1+ <img src =" https://raw.githubusercontent.com/js-data/js-data/master /js-data.png " alt =" js-data logo " title =" js-data " align =" right " width =" 64 " height =" 64 " />
22
33## js-data-firebase
44
5- Firebase adapter for js-data.
5+ Firebase adapter for [ js-data] ( http://www.js-data.io/js-data ) .
66
7- ## Documentation
8- [ http://www.js-data.io/js-data-firebase ] ( http ://www. js-data.io /js-data-firebase )
7+ ## API Documentation
8+ [ DSFirebaseAdapter ] ( https ://github.com/ js-data/js-data/wiki/DSFirebaseAdapter )
99
1010## Demo
1111[ https://js-data-firebase.firebaseapp.com/ ] ( https://js-data-firebase.firebaseapp.com/ )
@@ -22,23 +22,37 @@ Firebase adapter for js-data.
2222| Coverage | [ ![ Coverage Status] ( https://coveralls.io/repos/js-data/js-data-firebase/badge.png?branch=master )] ( https://coveralls.io/r/js-data/js-data-firebase?branch=master ) |
2323
2424## Quick Start
25- ` bower install --save js-data-firebase ` or ` npm install --save js-data-firebase ` .
25+ ` bower install --save js-data js-data-firebase ` or ` npm install --save js-data js-data-firebase ` .
26+
27+ Load ` js-data-firebase.js ` after ` js-data.js ` .
28+
29+ ``` js
30+ var adapter = new DSFirebaseAdapter ({
31+ basePath: ' https://my-app.firebase.io'
32+ });
33+
34+ var store = new JSData.DS ();
35+
36+ store .registerAdapter (' DSFirebaseAdapter' , adapter, { default: true });
37+
38+ // "store" will now use the firebase adapter for all async operations
39+ ```
2640
2741## Changelog
2842[ CHANGELOG.md] ( https://github.com/js-data/js-data-firebase/blob/master/CHANGELOG.md )
2943
3044## Community
31- - [ Mailing List] ( https://groups.google.com/forum/?fromgroups#!forum/js-data-project ) - Ask your questions!
45+ - [ Mailing List] ( https://groups.io/org/groupsio/jsdata ) - Ask your questions!
3246- [ Issues] ( https://github.com/js-data/js-data-firebase/issues ) - Found a bug? Feature request? Submit an issue!
3347- [ GitHub] ( https://github.com/js-data/js-data-firebase ) - View the source code for js-data.
3448- [ Contributing Guide] ( https://github.com/js-data/js-data-firebase/blob/master/CONTRIBUTING.md )
3549
3650## Contributing
3751
38- First, feel free to contact me with questions. [ Mailing List] ( https://groups.google.com/forum/?fromgroups#!forum/js-data-project ) . [ Issues] ( https://github.com/js-data/js-data-firebase/issues ) .
52+ First, feel free to contact me with questions. [ Mailing List] ( https://groups.io/org/groupsio/jsdata ) . [ Issues] ( https://github.com/js-data/js-data-firebase/issues ) .
3953
40541 . Contribute to the issue that is the reason you'll be developing in the first place
41- 1 . Fork js-data
55+ 1 . Fork js-data-firebase
42561 . ` git clone https://github.com/<you>/js-data-firebase.git `
43571 . ` cd js-data-firebase; npm install; bower install; `
44581 . ` grunt go ` (builds and starts a watch)
0 commit comments