Top

Chatzy Documentation

Export Firebase Data :


NOTE :
- Before running the app make sure you have import Collection json in Firestore database which we have provided.
- Before import json in firestore database remember to give rule permission or create Firestore Data. See the Firebase Rules for create Firestore Database and how to give permission in firebase.
Also you can check below video for how to import json in firebase:
VIDEO URL : https://youtu.be/Jd0sW8Wrc5Y?si=AxC6BmWBFwZfZU4a


  1. Open your project in firebase projects
  2. On left hand side panel click on setting icon. On click Setting button pop open open. In that click on Project Settings
  3. Now click on Service account tab and click on Genearate new private key
  4. On click Genearate new private key pop up will open for confirmation just click on Generate key
  5. After click on Generate key Your_Project_Name.json file download. Go to the download path
  6. Now change your json name so that while convert you can set name easily we kept our project name you can keep as per your project name
  7. Now open the path in terminal where your json is download
  8. Now run the below command for get data
    Below command chatzy_data.json will be your download json which you have change the name as per above steps and chatzy_data_backup.json will be our new json in which your wille be decode and generate new file with new name we have given chatzy_data_backup.json name you can give as per your requirement
    npx -p node-firestore-import-export firestore-export -a chatzy_data.json -b chatzy_data_backup.json