Socket
Socket
Sign inDemoInstall

loopback-connector-zater-firebase-admin

Package Overview
Dependencies
5
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    loopback-connector-zater-firebase-admin

Loopback Connector for firebase admin NoSql Database. LoopBack is an API Mgmt/MBaas platform built on top of express by Strongloop. It supports the notion of connectors to connect to databases, restful web services, soap web services etc. This project is


Version published
Weekly downloads
7
increased by250%
Maintainers
3
Install size
100 MB
Created
Weekly downloads
 

Readme

Source

loopback-connector-firebase

Firebase admin connector for loopback

Documentation: TBD

Customizing Firebase admin configuration for tests/examples

The .loopbackrc file is in JSON format, for example:

"teste": {
    "name": "teste",
    "connector": "loopback-connector-zater-firebase-admin",
    "serviceAccount": {
        "type": "service_account",
        "project_id": "project_id",
        "private_key_id": "private_key_id",
        "private_key": "private_key",
        "client_email": "client_email",
        "client_id": "client_id",
        "auth_uri": "auth_uri",
        "token_uri": "token_uri",
        "auth_provider_x509_cert_url": "auth_provider_x509_cert_url",
        "client_x509_cert_url": "client_x509_cert_url"
    },
    "databaseURL": "databaseURL",
    "databaseAuthVariableOverride": "admin" // optional
}

Running databaseAuthVariableOverride firebase roles

"mymodels": {
    ".read": "auth.uid === 'admin' ",
    ".write": "auth.uid === 'admin' "
}

Running tests

  • npm test - To run the test
  • npm run coverage - To find the code coverage

Release notes

Yet to be Released officially

Keywords

FAQs

Last updated on 18 Jun 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc