4 ms·
Really happy for the firebase team. Here's something that's been bugging me for a while (and why I only used firebase on pet projects rather than my main system
by d0m 13y ago
Really happy for the firebase team. Here's something that's been bugging me for a while (and why I only used firebase on pet projects rather than my main systems):
1. How does it work with non-only web stuff such as background workers, C, Python software, etc.
2. What about the hosting for html/css/js?
Here's a real world example:
I've got a python software that scrape an uploaded PDF for patients data and then create a kind of todo list for doctors/nurses/students. That todo list is accessible from the web - more specifically from a mobile browser. The front-end was hacked using html/css/js (angular).
I really wanted to use Firebase but struggled about the 1) and 2). It seems that the solution is to use a VPS to host a node.js back-end, but rather than using mongo it should use the firebase database through their node API, amicorrect?
For some reasons, when I thought about using firebase, I expected it to host the html/css/js files and provide the background jobs. Why can't I just have a some_task.js and call it from my js code using firebase API? I.e.
Firebase.async('some_background_function', function (result) { .. } );
Same for hosting.. I thought of firebase more like a one-stop shop.
As you can see, I might be a bit lost so please feel free to point where I'm wrong!! : )