Setup
Setting up Firebase Data Generator with firebase-admin
First you need a Private Key from firebase for privileged environments, find out how to get it here:
https://firebase.google.com/docs/admin/setup
(or replaceYOUR_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.
Installation
API
CLI
Last updated