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
- Host: GitHub
- URL: https://github.com/dalenguyen/ionic-to-firebase-migration
- Owner: dalenguyen
- Created: 2018-01-05T16:26:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-23T16:37:03.000Z (over 8 years ago)
- Last Synced: 2025-03-28T14:36:09.088Z (about 1 year ago)
- Topics: firebase, ionic, migration
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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=
```