This file executes API calls for Google Cloud Firestore that ends up backing up our files on their databases to our computers. This file checks to see if it already exists on the computer and then either write it to the computer if it doesn't exist or move onto deletion. In either case, it will delete the file after checking to see if the file exists.
The repeat-timer
module has already been added so please refer to this link for more information.
Execute npm install git+https://github.com/byuitechops/firebase-database-exporter.git
.
To setup and run an instance of firebase-database-explorer
, please do the following:
-
Clone the repository,
https://github.com/byuitechops/firebase-database-exporter.git
to desktop. -
Execute
cd firebase-database-exporter
. -
In the terminal, execute
npm install
. -
Retrieve Katana
serviceKey.json
and rename it toauth.json
. Make sure thatauth.json
lives in the same folder asmain.js
. -
In the terminal, execute
npm start
.