Socket
Book a DemoInstallSign in
Socket

gatsby-source-firebase-v3

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
Package was removed
Sorry, it seems this package was removed from the registry

gatsby-source-firebase-v3

gatsby source plugin to load documents from the rt firebase db

unpublished
latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Gatsby Firebase Source for gatsby v3

add plugin to gatsby-config with options:

{
  // point to the firebase private key downloaded
  credential: require("./firebase-service-account.json"),
  // your firebase database root url
  databaseURL: "https://<DATABASE_NAME>.<REGION>.firebasedatabase.app/",
  types:[
    {
      type: "Product",  // this will be allProduct in GraphQL query
      path: "products", // reference
    // optional
      query: ref => ref.limitToLast(10), 
      node: (node)=> node
    }
  ]
}

FAQs

Package last updated on 05 May 2021

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