Setup
Setting up Firestore Data Generator with firebase-admin
Last updated
Setting up Firestore Data Generator with firebase-admin
Last updated
First you need a Private Key from firebase for privileged environments, find out how to get it here: (or replace YOUR_PROJECT_NAME_HERE
with your project name here : https://console.firebase.google.com/project/YOUR_PROJECT_NAME_HERE/settings/serviceaccounts/adminsdk
Place that private key json
file somewhere in your project.
Take note of your databaseURL.
Create a schema for the data you want to generate.