An open API service indexing awesome lists of open source software.

https://github.com/dalenguyen/ionic-to-firebase-migration

A guide to migrate database from Ionic to Firebase
https://github.com/dalenguyen/ionic-to-firebase-migration

firebase ionic migration

Last synced: about 1 month ago
JSON representation

A guide to migrate database from Ionic to Firebase

Awesome Lists containing this project

README

          

Migration users from Ionic to Firebase

# Requirements

You need [NODE](https://nodejs.org/en/download/) or something that can run JAVASCRIPT (JS) file.

# Get a list of emails only

Input file is ionic-sample.json
Output file is emails-list.txt

```
node get-emails-only.js
```

# Prepare user data for importing to Firebase

Input file is ionic-sample.json
The output is firebase-ready.json

```
node users-preparation.js
```

# Importing user to Firebase

You need to install [firebase-tools](https://www.npmjs.com/package/firebase-tools/tutorial) in order to import or export database

```
firebase auth:import firebase-ready.json --project="your-firebase-project" --hash-algo= --rounds=
```