Tool to import JSON files in Google's Firestore.
config.js
. Open settings and create service account, download configuration and replace in serviceAccount.json
..csv
file into JSON
using this link - (CSV to JSON - CSVJSON)JSON
data into file (example.json
).allow read: if request.auth.uid != null
change it to allow read, write
and publish. ~Don’t forget to revert it back.~
node import_*collection*.js