ember-firebase-sdk

0.0.1 • Public • Published

ember-firebase-sdk

This addon automatically adds Firebase SDK config object to your ember project. Firebase users may be familiar with this object.

const config = {
  apiKey: "xxxxxxxx",
  authDomain: "xxxxxxxx.firebaseapp.com",
  databaseURL: "https://xxxxxxxx.firebaseio.com",
  projectId: "xxxxxxxx",
  storageBucket: "xxxxxxxx.appspot.com",
  messagingSenderId: "xxxxxxxx"
};

Conventionally this object needs to get included in config/environment.js so that other addons using firebase could use this information. This addon can be useful when you manage multiple firebase apps to single ember project. If you switch firebase project from one to another, the config object will switch as well. I found two other firebase addons to pair well with this addon. Those are,

You can skip the configuration part of those addon with this one.

Installation

ember install ember-firebase-sdk

Usage

Just install this addon and you are good to go. Make sure to setup a proper firebase configuration in your project directory.

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i ember-firebase-sdk

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • htkm