I am used to the MEAN solution stack for developing a web app and API, but I find Google Firebase more convenient to use because the database, storage, auth and hosting are all in one place.
I also like Firebase's real-time data synchronization which I badly needed with my app, and I really find it hard to implement in Node.js and MongoDB.
I am reading articles about Firebase but the more I read, the more confusing it gets. It seems like Firebase is an API as a service itself, so using it with Node.js looks ok.
Is there a proper way of using Firebase's components with a Node.js + Express.js server, because I still need Node.js features in my project?
I also think it doesn't make sense to do an HTTP
POST
or GET
request to Node.js to save the data on Firebase when you can do it directly using Firebase's APIs.
Another reason I want the Node.js implementation is that I don't want to re-write my code for saving, editing or deleting for every app (web, android and ios) which so far is my understanding with Firebase approach.