Este es un ejemplo práctico de como usar el SDK De Firebase para el Backend llamado Firebase Admin SDK, dentro de un backend de Nodejs.

Herramientas

Version 9 de Firebase Admin SDK?

En esta página puedes aprender como conectarte a Firebase desde Nodejs usando firebase-admin:

Generar API key

https://firebase.google.com/docs/admin/setup

to set thi file as the key

we have the option to use the path with an string or use an environment variable. The environment variable is more secure.

export GOOGLE_APPLICATION_CREDENTIALS="/home/fazt/Escritorio/node-express/node-fb-b8170-firebase-adminsdk-tl7aw-03986f59a9.json"


Versiones Anteriores de Este tutorial