Firebase Admin Sdk NodeJS Example
First you must add "serviceAccountKey.json" to your project. You can find it on your Firebase Console > Your Project > Settings > Service Accounts Tab And click "Create private key" button and download the json file. And add json file to your project.
Open project with Node.js
Run commands below:
Npm install
node index.js