I have been reading about Firebase and watching a few "getting started" videos but I still don't get it.
On the videos I see I frequently find things like "how to connect firebase with [Vue|Angular|React]" but then I get with the doubt does firebase is just the database layer or is also the backend layer?
I have an ecommerce site and the user want's to purchase a product. On Vue I'll do all the frontend stuff.
On Net Core I'll do all the backend stuff like checking that the product is in the inventory.
If I add Firebase then the architecture will become something like this?
- Vue connects to Firebase to retrieve the products.
- Vue connects to Net Core which connects to Firebase to know the inventory if the inventory is not available then Net Core responds to Vue that the purchase can not be done.
In that case:
A. What is the point on connecting to Vue -> Firebase?
B. If you are connecting Vue -> Net Core -> Firebase? What exactly are you benefiting from using Firebase? I read that having a real time app is one of the selling points of firebase but I think that this will be lost by connecting to Net Core
C. Or is it suppose to be some hybrid architecture maybe having Vue -> Firebase (notifications database) and then having Vue -> Net Core -> Firebase (products database)?
Thanks for your help.
(open source and trusted by devs everywhere ❤️)