Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Official Ember Data adapter for Firebase
JavaScript CSS Handlebars HTML

Merge pull request #257 from halfdan/253-deprecated

Use modelName instead of deprecated typeKey.
latest commit d80a3e5206
@tstirrat tstirrat authored
Failed to load latest commit information.
addon Use modelName instead of deprecated typeKey.
app/initializers es6 refactor
blueprints Bump required firebase dep version to install 2.2+
config Restore latest ember-data (npm) when testing canary
tests Clean up tests, many afterEach blocks were unnecessary
vendor Correctly add header comment to TOP of file
.bowerrc es6 refactor
.editorconfig es6 refactor
.ember-cli es6 refactor
.gitignore es6 refactor
.jshintrc lint before legacy build, show firebase comment in legacy build
.npmignore lint before legacy build, show firebase comment in legacy build
.travis.yml Add ember-data 17/18 to travis build
Brocfile.js Add MockFirebase for testing (and amd shim)
LICENSE Updated license to 2015 updated readme
bower.json [firebase-release] Removed change log and reset repo after 1.4.5 release
changelog.txt [firebase-release] Removed change log and reset repo after 1.4.5 release
firebase.json Example app add rewrites to firebase hosting config
gulpfile.js Correctly add header comment to TOP of file
index.js Lowercase addon name to support older ember-cli versions
package.json [firebase-release] Removed change log and reset repo after 1.4.5 release
testem.json es6 refactor

EmberFire (Firebase + Ember Data)

Build Status Version

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

The FirebaseAdapter provides all of the standard DS.Adapter methods and will automatically synchronize the store with your Firebase database. EmberFire is packaged as an addon with Ember CLI by default, and is also available to use without the CLI. See below for instructions on getting started, and check out the full EmberFire documentation on the Firebase website. EmberFire works with Ember Data beta.11+

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

Installing EmberFire with Ember CLI

To install EmberFire as an addon with your Ember CLI app, run the following command within your app's directory:

$ ember install emberfire

This will add Firebase as a dependency in your bower.json file, create app/adapters/application.js and add configuration to config/environment.js. Now, update your Firebase database url in config/environment.js:

// config/environment.js
module.exports = function(environment) {
  var ENV = {
    modulePrefix: 'firebase-app',
    environment: environment,
    firebase: '',
    baseURL: '/',

Your Firebase data will now be synced with the Ember Data store. For detailed EmberFire documentation, check out the quickstart or guide in the Firebase docs.

Using EmberFire Without Ember CLI

EmberFire also works without ember-cli. See the Firebase documentation for instructions on getting started.

Contributing to EmberFire

If you'd like to contribute to EmberFire, run the following commands to get your environment set up:


  • git clone this repository
  • npm install -g ember-cli bower
  • npm install
  • bower install

Using a local EmberFire workdir in another project

From your emberfire workdir

  • npm link
  • npm prune --production (removes dev dependencies, these can trip you up!)

From your app workdir

  • npm link emberfire
  • Update your package.json so that emberfire is in devDependencies and is set to version 0.0.0

    "devDependencies": {
      "emberfire": "0.0.0"

Running Tests

  • ember test
  • ember test --server
Running tests against a specific version of ember-data

Invoke ./config/select-dep-versions.js with environment var EMBER_DATA_VERSION=<version> where <version> is an ember-data version number (e.g. 1.0.0-beta.12) or beta or canary.


EMBER_DATA_VERSION=canary ./config/select-dep-versions.js && ember test

Running the FireBlog demo app

  • ember server
  • Visit your app at http://localhost:4200.
Something went wrong with that request. Please try again.