EmberFire
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
var ENV = {
firebase: {
apiKey: "xyz",
authDomain: "YOUR-FIREBASE-APP.firebaseapp.com",
databaseURL: "https://YOUR-FIREBASE-APP.firebaseio.com",
projectId: "YOUR-FIREBASE-APP",
storageBucket: "YOUR-FIREBASE-APP.appspot.com",
messagingSenderId: "00000000000"
}
}
Get these values from the Firebase Console by clicking the [Add Firebase to your web app] button on the project overview page.
Documentation
Compatibility
Please consult this table when selecting your version of EmberFire and Firebase SDK:
Ember Data | EmberFire | Firebase SDK |
---|
3.0+ | 3.0.x | 5.x |
2.3+ | 2.x | 3.x |
2.0 - 2.2 | 1.6.x | 2.x |
1.13 | 1.5.x | 2.x |
Migration Guides
Contributing
If you'd like to contribute to EmberFire, please first read through our contribution
guidelines. Local setup instructions are available here.