Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am setting up a project in Firebase.
It will use:
Authentication, to authenticate users
Hosting for main html/js functions
Storage for app data files
Database for a small db
What I am currently missing is the availablity of a backoffice space into which I need to run python scripts that will gather files to save into Storage area with a cronjob.
Is this currently possible in Firebase, or am I missing something?
Firebase doesn't have a generalized backend solution for running arbitrary code. You can bring whatever backend you want that meets your needs.
If you want to stay in the Google ecosystem, look into using Cloud Functions to run python code that's triggered by events in your system. You can configure Cloud Scheduler to trigger a function periodically.
The Firebase tools built around Cloud Functions don't support python, only nodejs.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last year.
Improve this question
I'm planning to build a web app in such a short time. I'm planning to just use what I've learned in Firebase 8.9.1. However, I've learned that there was a new version of Firebase. These are the functions that I would most probably be using:
Database: Firestore
Will be using Firebase Authentication
The usual CRUD operations
Queries and distributed counters for functions similar to inventories
Firebase Hosting
Are there any big differences between the two versions? And is it alright if I'll just stay with version 8.9.1?
The difference is mostly the syntax but all services work as they used to. I would recommend updating to newer version so you get all the new features from Firebase.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to use my own servers for cloud functions instead of relying on Google's to eliminate the cold start of functions, how can I do this?
firebaser here
There is currently no native way to run your Cloud Functions on your own server. You can run the Firebase emulator suite to emulate functions, but those are not ready for production use.
The more common approach is to set up your own server, using something like Express. But you won't get the other trigger types that Cloud Functions offers, as those are only available within Google's infrastructure at the moment and you'll have to take care of scaling with the load yourself too.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am making a software using firebase, this software has both user UI and Admin UI. An admin either activate, deactivate or remove certain users and do nothing. I want to add some more features to the admin UI. Something like being able to check my firebase account's usage, current plan and so on.
In simple words, is there any way to find below details of a single firebase project of mine using firebase-admin package?
Used storage bucket space and totally available bucket size, downloads and uploads
Firestore database write and read counts and maximum read/writes as per the current plan
The total number of users currently existing in my firebase auth
Cloud functions errors count
Being able to fetch these data in realtime would be more better and there maybe some kind of way for drawing graphs on the dashboard on the basis on these data.
I have initialized firebase-admin by calling admin.initializeApp(); and the code for activating and or deactivating users. What about the analytics ? Is it possible with firebase-admin ? I'd tried a lot Googling but didn't found a way...
The Firebase Admin SDKs currently don't provide any of the meta-information you are looking for. You can find the current list of functionality in the documentation.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Almost eveything is done through the database, and so this got me thinking, if I have user accounts, is there a way to create/allow certain things from the database,to be user configurable. For example, say they favorited a song, though it is done through the server, it'll be user base and only affect them.
Is there a way to allow certain things from the main database to be user database as well.
Sorta new to this.
You can definitely use firebase for music streaming ,
for basic upload you can use firebase storage, and use the download link to stream using Audio Players plugin
if you want to compress audios to different qualities you can use Firebase Functions by adding your own javascript to it.
The rest is just data manipulation and user management. You can refer the firebase documentations for more.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How do I do my business logic on server-side on firebase?
Will the web app still have the benefits of progressive web app if I do this?
Reason to do this: Anybody can run Javascript code on your website if the person knows how to use the developer tools available in modern browsers.
Is firebase Queue (NodeJS on AWS) the way? I am a noob to all this.
You need to write more of your business logic on font-side than traditional way. To make it safe, you need to write access rules carefully on firebase console.
And it's not enough, you also need a server-side, nodejs is a good choice, there are many useful library, such as firebase, firebase-queue, firebase-admin. You can deploy these servers on the google cloud with docker.