|
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" /> |
| 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="96" height="96" /> |
2 | 2 |
|
3 |
| -## js-data-firebase [](https://www.npmjs.org/package/js-data-firebase) [](https://www.npmjs.org/package/js-data-firebase) [](https://circleci.com/gh/js-data/js-data-firebase/tree/master) [](https://www.npmjs.org/package/js-data-firebase) [](https://github.com/js-data/js-data-firebase/blob/master/LICENSE) |
| 3 | +# js-data-firebase |
4 | 4 |
|
5 |
| -Firebase adapter for [js-data](http://www.js-data.io/). |
6 |
| - |
7 |
| -### API Documentation |
8 |
| -[FirebaseAdapter](http://www.js-data.io/docs/firebaseadapter) |
9 |
| - |
10 |
| -### Demos |
11 |
| -[js-data-firebase + Angular](https://js-data-firebase.firebaseapp.com/angular/) |
12 |
| - |
13 |
| -[js-data-firebase + React](https://js-data-firebase.firebaseapp.com/react/) |
14 |
| - |
15 |
| -[js-data-firebase + Riot](https://js-data-firebase.firebaseapp.com/riot/) |
16 |
| - |
17 |
| -### Project Status |
18 |
| - |
19 |
| -__Latest Release:__ [](https://github.com/js-data/js-data-firebase/releases) |
20 |
| - |
21 |
| -__Status:__ |
22 |
| - |
23 |
| -[](https://gemnasium.com/js-data/js-data-firebase) [](https://coveralls.io/r/js-data/js-data-firebase?branch=master) [](https://www.codacy.com/public/jasondobry/js-data-firebase/dashboard) |
24 |
| - |
25 |
| -__Supported Platforms:__ |
26 |
| - |
27 |
| -[](https://github.com/js-data/js-data) |
28 |
| - |
29 |
| -### Quick Start |
30 |
| -`bower install --save js-data js-data-firebase` or `npm install --save js-data js-data-firebase`. |
31 |
| - |
32 |
| -Load `firebase.js`. |
| 5 | +[![Slack Status][sl_b]][sl_l] |
| 6 | +[![npm version][npm_b]][npm_l] |
| 7 | +[![Circle CI][circle_b]][circle_l] |
| 8 | +[![npm downloads][dn_b]][dn_l] |
| 9 | +[![Coverage Status][cov_b]][cov_l] |
33 | 10 |
|
34 |
| -Load `js-data-firebase.js` after `js-data.js`. |
35 |
| - |
36 |
| -```js |
37 |
| -var adapter = new FirebaseAdapter({ |
38 |
| - basePath: 'https://my-app.firebase.io' |
39 |
| -}); |
40 |
| - |
41 |
| -var store = new JSData.DS(); |
42 |
| - |
43 |
| -store.registerAdapter('firebase', adapter, { default: true }); |
44 |
| - |
45 |
| -// "store" will now use the firebase adapter for all async operations |
46 |
| -``` |
47 |
| - |
48 |
| -### Changelog |
49 |
| -[CHANGELOG.md](https://github.com/js-data/js-data-firebase/blob/master/CHANGELOG.md) |
50 |
| - |
51 |
| -### Community |
52 |
| -- [Gitter Channel](https://gitter.im/js-data/js-data) - Better than IRC! |
53 |
| -- [Announcements](http://www.js-data.io/blog) |
54 |
| -- [Mailing List](https://groups.io/org/groupsio/jsdata) - Ask your questions! |
55 |
| -- [Issues](https://github.com/js-data/js-data-firebase/issues) - Found a bug? Feature request? Submit an issue! |
56 |
| -- [GitHub](https://github.com/js-data/js-data-firebase) - View the source code for js-data. |
57 |
| -- [Contributing Guide](https://github.com/js-data/js-data-firebase/blob/master/CONTRIBUTING.md) |
58 |
| - |
59 |
| -### Contributing |
60 |
| - |
61 |
| -First, support is handled via the [Mailing List](https://groups.io/org/groupsio/jsdata). Ask your questions there. |
62 |
| - |
63 |
| -When submitting issues on GitHub, please include as much detail as possible to make debugging quick and easy. |
| 11 | +Firebase adapter for [js-data](http://www.js-data.io/). |
64 | 12 |
|
65 |
| -- good - Your versions of js-data, js-data-firebase, etc., relevant console logs/error, code examples that revealed the issue |
66 |
| -- better - A [plnkr](http://plnkr.co/), [fiddle](http://jsfiddle.net/), or [bin](http://jsbin.com/?html,output) that demonstrates the issue |
67 |
| -- best - A Pull Request that fixes the issue, including test coverage for the issue and the fix |
| 13 | +To get started, visit __[http://js-data.io](http://www.js-data.io/docs/js-data-firebase)__. |
68 | 14 |
|
69 |
| -[Github Issues](https://github.com/js-data/js-data-firebase/issues). |
| 15 | +Tested on IE9, Chrome 46, Firefox 41 & Safari 7.1 using |
| 16 | +<img src="https://raw.githubusercontent.com/js-data/js-data-firebase/master/bs.jpg" alt="bs logo" title="browserstack" width="150" height="35" style="vertical-align: middle" /> |
70 | 17 |
|
71 |
| -#### Pull Requests |
| 18 | +## Links |
72 | 19 |
|
73 |
| -1. Contribute to the issue that is the reason you'll be developing in the first place |
74 |
| -1. Fork js-data-firebase |
75 |
| -1. `git clone https://github.com/<you>/js-data-firebase.git` |
76 |
| -1. `cd js-data-firebase; npm install; bower install;` |
77 |
| -1. `grunt go` (builds and starts a watch) |
78 |
| -1. (in another terminal) `grunt karma:dev` (runs the tests) |
79 |
| -1. Write your code, including relevant documentation and tests |
80 |
| -1. Submit a PR and we'll review |
| 20 | +* [Quick start](http://www.js-data.io/docs/home#quick-start) - Get started in 5 minutes |
| 21 | +* [Guides and Tutorials](http://www.js-data.io/docs/home) - Learn how to use JSData |
| 22 | +* [`FirebaseAdapter` Guide](http://www.js-data.io/docs/js-data-firebase) - Learn how to use `FirebaseAdapter` |
| 23 | +* [API Reference Docs](http://api.js-data.io) - Explore components, methods, options, etc. |
| 24 | +* [Community & Support](http://js-data.io/docs/community) - Find solutions and chat with the community |
| 25 | +* [General Contributing Guide](http://js-data.io/docs/contributing) - Give back and move the project forward |
| 26 | + * [Contributing to js-data-firebase](https://github.com/js-data/js-data-firebase/blob/master/.github/CONTRIBUTING.md) |
81 | 27 |
|
82 |
| -### License |
| 28 | +## License |
83 | 29 |
|
84 | 30 | The MIT License (MIT)
|
85 | 31 |
|
86 |
| -Copyright (c) 2014-2015 Jason Dobry |
87 |
| - |
88 |
| -Permission is hereby granted, free of charge, to any person obtaining a copy |
89 |
| -of this software and associated documentation files (the "Software"), to deal |
90 |
| -in the Software without restriction, including without limitation the rights |
91 |
| -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
92 |
| -copies of the Software, and to permit persons to whom the Software is |
93 |
| -furnished to do so, subject to the following conditions: |
94 |
| - |
95 |
| -The above copyright notice and this permission notice shall be included in all |
96 |
| -copies or substantial portions of the Software. |
97 |
| - |
98 |
| -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
99 |
| -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
100 |
| -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
101 |
| -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
102 |
| -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
103 |
| -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
104 |
| -SOFTWARE. |
| 32 | +Copyright (c) 2014-2016 js-data-firebase project authors |
| 33 | + |
| 34 | +* [LICENSE](https://github.com/js-data/js-data-firebase/blob/master/LICENSE) |
| 35 | +* [AUTHORS](https://github.com/js-data/js-data-firebase/blob/master/AUTHORS) |
| 36 | +* [CONTRIBUTORS](https://github.com/js-data/js-data-firebase/blob/master/CONTRIBUTORS) |
| 37 | + |
| 38 | +[sl_b]: http://slack.js-data.io/badge.svg |
| 39 | +[sl_l]: http://slack.js-data.io |
| 40 | +[npm_b]: https://img.shields.io/npm/v/js-data-firebase.svg?style=flat |
| 41 | +[npm_l]: https://www.npmjs.org/package/js-data-firebase |
| 42 | +[circle_b]: https://img.shields.io/circleci/project/js-data/js-data-firebase.svg?style=flat |
| 43 | +[circle_l]: https://circleci.com/gh/js-data/js-data-firebase |
| 44 | +[dn_b]: https://img.shields.io/npm/dm/js-data-firebase.svg?style=flat |
| 45 | +[dn_l]: https://www.npmjs.org/package/js-data-firebase |
| 46 | +[cov_b]: https://img.shields.io/codecov/c/github/js-data/js-data-firebase.svg?style=flat |
| 47 | +[cov_l]: https://codecov.io/github/js-data/js-data-firebase |
0 commit comments