Import your firebase data to your local firebase emulators
npm install fire-import1. Google Cloud SDK
For installing google cloud cli in your computer check this out => here
2. Firebase cli
For installing firebase cli into your computer run the following command
npm i -g firebase-tools
fire-import cli```
npm i -g fire-import
``
fire-import firestore
It will ask you for projectId. How to get Project Id ?
Then new browser windows will open. Choose your google account associated with firebase project.
(This package won't have access to any of your account. You are providing access to google-cloud-sdk only)
> :warning: Please make sure that you are in firebase project directory. Or initialize the firebase project by entering firebase init in terminal.
``
fire-import storage
Please go to the firebase console and get the project id.
Start firebase emulator with
firebase emulators:start --import=./firebaseExport --export-on-exit=./firebaseExport`