Firebase2GraphQL

Migrate from Firebase to GraphQL on Postgres

Firebase2GraphQL is a CLI tool to that gives you instant realtime GraphQL on your Firebase data. It takes data exported from Firebase and imports into Postgres via Hasura GraphQL engine.

Discussion
Would you recommend this product?
2 Reviews5.0/5
This is real great - Firebase is awesome for prototyping and getting stuff out fast, but transitioning is a PITA. Now I can hack my silly ideas together even faster, thanks :)
Upvote (3)Share
@ianissoawesome Thank you :). Do try it out and let us know what you think! We have just started to get some early positive feedback and would love to know your experience! We're super active on our community discord server if you have any questions: https://discord.gg/vBPpJkS
Thank you @kwdinc for hunting us ๐Ÿ˜ƒ We wrote this CLI to explore migrating from Firebase to Postgres as easily as possible. We use Hasura to generate the realtime GraphQL API on Postgres automatically. The CLI tool's work then mostly boils down to 2 things, which we do in phases: 1. Phase I: We migrate Firebase data nodes to Postgres tables in a fairly naive way. We setup automatic IDs and parent-child tables and set up relationships between the tables. This gives you a write-many type GraphQL API on Postgres. Realtime GraphQL with subscriptions and live-queries replaces Firebase realtime 2. Phase II: As an optional next step, we try to normalise data by detecting overlapping data between tables. We delete "subset" tables and set up relationships to the superset table. We've written up a blogpost with more details here: https://blog.hasura.io/firebase2... [1] https://github.com/hasura/graphq... , https://hasura.io
Upvote (1)Share
Interesting! Can anyone suggest a compatible CMS for this?
@bitler Once you import your data into Hasura, we have a UI (a PHP-MyAdmin like console) that helps your browse your data and make GraphQL queries in the embedded GraphiQL. Itโ€™s not really a CMS though. However, you should be able to use any existing CMS that works with Postgres with Hasura.