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 " />
2
2
3
3
## js-data-firebase
4
4
5
- Firebase adapter for js-data.
5
+ Firebase adapter for [ js-data] ( http://www.js-data.io/js-data ) .
6
6
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 )
9
9
10
10
## Demo
11
11
[ https://js-data-firebase.firebaseapp.com/ ] ( https://js-data-firebase.firebaseapp.com/ )
@@ -22,23 +22,37 @@ Firebase adapter for js-data.
22
22
| 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 ) |
23
23
24
24
## 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
+ ```
26
40
27
41
## Changelog
28
42
[ CHANGELOG.md] ( https://github.com/js-data/js-data-firebase/blob/master/CHANGELOG.md )
29
43
30
44
## 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!
32
46
- [ Issues] ( https://github.com/js-data/js-data-firebase/issues ) - Found a bug? Feature request? Submit an issue!
33
47
- [ GitHub] ( https://github.com/js-data/js-data-firebase ) - View the source code for js-data.
34
48
- [ Contributing Guide] ( https://github.com/js-data/js-data-firebase/blob/master/CONTRIBUTING.md )
35
49
36
50
## Contributing
37
51
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 ) .
39
53
40
54
1 . 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
42
56
1 . ` git clone https://github.com/<you>/js-data-firebase.git `
43
57
1 . ` cd js-data-firebase; npm install; bower install; `
44
58
1 . ` grunt go ` (builds and starts a watch)
0 commit comments