Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrating away from Firebase to own server & Backend

We are currently using Firebase as our backend for building a chat app & we are growing significantly. We used Firebase because it reduced our time to market due to the real time sync & offline support.

But In the near future we plan to migrate to our own server with node & mongo cause the pricing of the realtime database is too high + we have to work under a lot of constraints when using firebase.

Can someone suggest how do we migrate our data directly from firebase to own server & what are some things one needs to keep in mind in such a scenario.

like image 837
Arnav Vohra Avatar asked Oct 30 '22 21:10

Arnav Vohra


1 Answers

Use MongoDB + Socket.IO
This combination gives you a lot of space for customization as you can customize the part in which user needs two-way data binding functionality. You can connect user with socket.io in that part of application only.

To take an overview:
http://thejackalofjavascript.com/re-architecting-a-firebase-app-in-node/

like image 181
Preet Avatar answered Nov 11 '22 06:11

Preet