Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Firebase User Importer

This project is a Node.js script that allows you to import user data from Firebase Authentication using the Firebase Admin SDK.

Prerequisites

Before running this script, make sure you have completed the following steps:

  1. Download the Firebase Admin SDK service account key from the Firebase console.
  2. Save the service account key JSON file to a secure location in your project directory.

Dependencies

To install the necessary dependencies, follow these steps:

  1. If you don't have npm installed, you can install it by running the following command in your terminal:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Next install Node.js by running the following command in your terminal:

    brew install node

Installation

Clone this repository to your local machine and install the required dependencies by running the following command:

npm install

Configuration

Assign variable serviceAccount with the service account key JSON file path in the index.js file.

const serviceAccount = require('path/to/serviceAccountKey.json');

Run the script

To run the script, use the following command:

npm start

Result

The script will import the user Authentication data from Firebase to the outputfile variable value in the root directory of the project.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /