This repository contains tools and documentation for migrating a project from Supabase to Firebase.
This migration toolkit supports two distinct paths depending on your target Firebase database:
- Target Product: Cloud Firestore (NoSQL Document Database).
- Best for: Developers looking to switch to a flexible, scalable NoSQL document store.
- Location:
migration_to_firestore/ - Guide: Read the Firestore Migration Guide
- Target Product: Firebase Data Connect (Relational Database backed by Cloud SQL).
- Best for: Maintaining a relational SQL structure and leveraging GraphQL for type-safe data access.
- Location:
migration_to_SQL/ - Guide: Read the Data Connect Migration Guide
migration_to_SQL/: Tools and guides for migrating to Firebase Data Connect (PostgreSQL).migration_to_firestore/: Tools and guides for migrating to Firestore (NoSQL).
- Choose your path above based on your desired database (NoSQL vs SQL).
- Navigate to the corresponding directory or open the guide linked above.
- Follow the specific instructions in that guide to setup your credentials and run the migration scripts.
- Node.js: Required for running migration scripts.
- Supabase Project: Access to your source project credentials.
- Firebase Project: A target project with the appropriate services (Firestore or Data Connect) enabled.