Example for firebase bulkwriter.
I wrote it, so you can edit it in your own way as needed.
Used Node.JS v18.14.2 without any framework.
To implement this code, the relevant reference was consulted.
npm run dev
To run this project, you'll need the JSON file related to the Firebase Admin SDK.
Follow these steps to obtain the Firebase Admin SDK private key:
- Go to Service accounts in the Firebase Console.
- Under Firebase Admin SDK (Node.js), click Generate new private key.
- Download the JSON file and place it in the 'config' folder.
Once you have the JSON file, create a '.env' file at the project's root directory, and enter the absolute path to the JSON file in a variable named FIREBASE_CONFIG.