Official Ember Data adapter for Firebase
pichot and jamesdaniels Add mention of unique ID customization (#549)
I spent too long looking for how to customize the ID of a Firebase record. Thought it would be helpful for others in the future to have this documented.
Latest commit aff7426 Jun 21, 2018
Permalink
Failed to load latest commit information.
.github Updated Google Group link Jul 25, 2016
addon Small fixes Mar 26, 2018
app Firebase SDK 3.0 update (#385) Jun 9, 2016
blueprints remove firebase from bower (#470) Feb 3, 2017
config Small fixes Mar 26, 2018
docs Add mention of unique ID customization (#549) Jun 21, 2018
test-support/helpers Fix acceptance test permission (#477) Feb 3, 2017
tests fix: Avoid infinite render on value change (#524) Aug 31, 2017
vendor Remove lodash (#502) Jun 11, 2017
.bowerrc es6 refactor Feb 24, 2015
.codeclimate.yml Code Climate integration (#443) Oct 12, 2016
.editorconfig Upgrade to ember-cli 0.2.7 Jun 4, 2015
.ember-cli Upgrade to ember-cli 0.2.7 Jun 4, 2015
.eslintignore Code Climate integration (#443) Oct 12, 2016
.eslintrc Code Climate integration (#443) Oct 12, 2016
.gitignore Small fixes Mar 26, 2018
.jshintrc lint before legacy build, show firebase comment in legacy build Feb 25, 2015
.npmignore Upgrade to ember-cli/ember/ember-data 2.5.1 (#386) Jun 4, 2016
.travis.yml Cleaning up extraneous travis config (#540) Jan 23, 2018
.watchmanconfig Upgrade to ember-cli/ember/ember-data 2.5.1 (#386) Jun 4, 2016
LICENSE Removed support@firebase.com and updated LICENSE (#395) Jun 18, 2016
README.md Close braces on env config in the README (#528) Jan 23, 2018
bower.json [firebase-release] Updated EmberFire to 2.0.10 Mar 26, 2018
changelog.txt [firebase-release] Removed change log and reset repo after 2.0.10 rel… Mar 26, 2018
ember-cli-build.js Firebase SDK 3.0 update (#385) Jun 9, 2016
firebase.json Firebase SDK 3.0 update (#385) Jun 9, 2016
gulpfile.js Upgrade to ember-cli/ember/ember-data 2.5.1 (#386) Jun 4, 2016
index.js Add Firebase shim for FastBoot (#515) Jun 9, 2017
package.json [firebase-release] Updated EmberFire to 2.0.10 Mar 26, 2018
testem.js Using headless Chrome for tests (#538) Jan 23, 2018
yarn.lock Small fixes Mar 26, 2018

README.md

EmberFire Build Status Test Coverage Version Monthly Downloads Ember Observer Score Code Climate

EmberFire is the officially supported adapter for using Firebase with Ember Data.

Join our Firebase Google Group to ask technical questions, share apps you've built, and chat with other developers in the community.

Table of Contents

Getting Started With Firebase

EmberFire requires Firebase in order to authenticate users and sync and store data. Firebase is a suite of integrated products designed to help you develop your app, grow your user base, and earn money. You can sign up here for a free account.

Installation

$ ember install emberfire

Update config/environment.js

// config/environment.js
var ENV = {
  firebase: {
    apiKey: 'xyz',
    authDomain: 'YOUR-FIREBASE-APP.firebaseapp.com',
    databaseURL: 'https://YOUR-FIREBASE-APP.firebaseio.com',
    storageBucket: 'YOUR-FIREBASE-APP.appspot.com',
  }
}

Get these values from the Firebase Console by clicking the [Add Firebase to your web app] button on the project overview page.

Compatibility

Please consult this table when selecting your version of EmberFire and Firebase SDK:

Ember Data EmberFire Firebase SDK
1.13+ 1.5.x 2.x
2.0 - 2.2 1.6.x 2.x
2.3+ 2.0.x 3.x
canary master 3.x

To install the master branch, use ember install firebase/emberfire#master

Also note that due to the Firebase 3.0 SDK, you cannot run tests with PhantomJS 1.0 or 2.0.

Documentation

Migration Guides

Contributing

If you'd like to contribute to EmberFire, please first read through our contribution guidelines. Local setup instructions are available here.