@gogovega/node-red-contrib-firebase-realtime-database 0.5.4

Node-RED nodes to communicate with Google Firebase Realtime Databases

npm install @gogovega/node-red-contrib-firebase-realtime-database

Node-RED nodes to communicate with Firebase Realtime Databases

Logo


Report Bug · Request Feature · Discussion

shield-license shield-issues shield-stars shield-forks shield-downloads shield-dependencies

demo nodes

What is it?

This package is used to communicate with Firebase Realtime Databases. It allows to add, modify and fetch data from your databases aswell as subscribing to data at the paths you specify which yields a payload whenever a value changes.

The Nodes

nodes screenshot

There are 4 nodes included with this contrib:

Node Purpose
Firebase in Subscribes to data at the specified path,
which yields a payload whenever a value changes.
Firebase get Fetches data from the specified path.
Query constraints can be used to sort and order your data.
Firebase out SET, PUSH, UPDATE, REMOVE, SET PRIORITY or SET WITH PRIORITY data at the target Database.
On Disconnect SET, CANCEL, UPDATE, REMOVE or SET WITH PRIORITY data at the target Database when the Client disconnects.

On the video above, we can see the "Query Constraint" feature, which is used to sort and order your data as required, and also shown is the "Drag and drop JSON file" feature, which automatically populates the fields with the content of the JSON file you provide.

How to use?

  • From Manage Palette

Find this package @gogovega/node-red-contrib-firebase-realtime-database and click install.

  • Install Manually
    Rememeber to restart Node RED after using this method.
    .node-red is usually relative to the users home directory that is running Node RED.
cd ~/.node-red
npm install @gogovega/node-red-contrib-firebase-realtime-database --omit=dev

Authentication Methods

  • Anonymous
  • Email
  • Private Key (Firebase Admin Node.js SDK)
  • Custom Token (Generated with Private Key)

Read more about the different ways to authenticate here.

TODO List

  • Sign in with Google (Provider)

If you have any other suggestions, please let me know here.

License

MIT License

Copyright (c) 2022-2023 Gauthier Dandele

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Node Info

Version: 0.5.4
Updated 2 months, 2 weeks ago
License: MIT
Rating: 5.0 20

Actions

Rate:

Downloads

26 in the last week

Nodes

  • database-config
  • firebase-in
  • firebase-get
  • firebase-out
  • on-disconnect

Keywords

  • admin
  • database
  • firebase
  • node-red
  • realtime

Maintainers

Contributors

  • Marcus Davies