Move your Firestore data directly to MongoDB.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
imabritishcow 756ab89bae
Merge pull request #3 from imabritishcow/dependabot/npm_and_yarn/node-forge-0.10.0
10 months ago
.gitignore First commit 1 year ago
LICENSE Initial commit 1 year ago
README.md First commit 1 year ago
index.js First commit 1 year ago
package.json Updated dependencies 10 months ago
yarn.lock Fixed yarn.lock 10 months ago

README.md

FirestoreToMongo

Move your Firestore data directly to MongoDB. (Subcollections in Firestore are not supported!).

Usage

Use git clone https://github.com/imabritishcow/firestoretomongo.git then run yarn. If you do not have yarn, install it with npm i -g yarn.

Get your service account key from Firebase and place it in the directory with index.js. Rename it serviceAccount.json.

Then run, node index.js -f FIRESTORE_URL (https://ProjectID.firebaseio.com) -m MONGO_URL -o FIRESTORE_COLLECTION -n MONGODB_COLLECTION -d MONGODB_DB (Optional. Defaults to test) Do not use PowerShell and wrap any & in "".