Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

ember-firebase-sdk

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-firebase-sdk

The default blueprint for ember-cli addons.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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,

  • emberfire
  • ember-firebase-service

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.

Keywords

ember-addon

FAQs

Package last updated on 17 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts