Skip to content

mdsami/firebase-mysql-sync

Repository files navigation

MySQL DB Sync with Firebase Realtime DB

Show some ❤️ and star the repo for the project

GitHub stars GitHub forks GitHub watchers GitHub followers
Twitter Follow

This repository containing Node JS Script to sync Local Mysql DB with Firebase DB.

Setup

  1. Make sure to install node and npm.

  2. Run npm install

  3. On your firebase console, go to your Project Settings page and navigate to Service Accounts.

  4. At the bottom, click Generate New Private Key button.

  5. Move the downloaded json in this folder and rename to firebase.json.

  6. Change databaseURL: "https://xx.firebaseio.com" in index.js

  7. Chnage your Local Mysql credentials to mysql.json.

Running the application

  1. Run npm start

About

Sync Local or server Mysql DB with Firebase Realtime DB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published