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
- Bootswatch, https://bootswatch.com/
- Firestore, https://firebase.google.com/docs/firestore/quickstart?hl=es#web-version-8
- https://firebase.google.com/docs/reference/admin/node/firebase-admin.firestore.md#firebase-adminfirestore_module
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
- https://youtu.be/b6KJ7FSMifw En esta version se usa firebase admin SDK con Firebase Realtime Database
- Miniatura anterior: https://res.cloudinary.com/fazt/image/upload/c_scale,w_400/v1570050840/tutorials/nodejs-firebase.png