Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-firebase-data

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-firebase-data

The simplest of simple nodes with firebase

  • 0.0.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Introduction

I will briefly explain how to use Firebase methods. https://firebase.google.com/docs/reference/rest/database Basically implemented based on this API document.

Features

Get Set Push Update Remove setpriority rename child path

Certificate

Access link firebase settings as below. After that, click button "Generate new private key" to download key https://console.firebase.google.com/u/0/project/`[your-project]`/settings/serviceaccounts/adminsdk

certificate

Edit node, choose Auth Type is JSON Web Token and input client Email and private Key from the file

certificate2

Usage

  1. Get method (GET) If you execute after setting the Child Path, the Child Path data will appear.

get-node

get-data-node

  1. Set method (PUT) After inputting data such as {"first": "Jack", "last": "Sparrow"}, if there is already data in the specified Child Path, that data will be lost and updated with the input data.

set-node

set-data-node

  1. Push method (POST) For example, Child Path is a list of users, enter {"user_number": "321", "name": "John"}. When executed, the new user will be added to the user list.

push-node

push-data-node

  1. Update method (PATCH) Update the existing data with the entered data.

update-node

update-data-node

  1. Remove method (DELETE) Delete Child Path.

remove-node

remove-data-node

  1. Set Priority and setwithPrioty methods (PATCH) This is because the Put method sets the priority for the child path. (Or to get the priority with GET)

setpriority-node

setpriority-data-node

  1. Rename child path

rename-node

rename-data-node

Keywords

FAQs

Package last updated on 22 Dec 2020

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc