Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 days ago.
Improve this question
I understand that Firebase is BAAS and Google Cloud is IAAS. Lets say, I have a web application which I want to host in Firebase platform provided by Google. In this case, does it mean that my app will be deployed using GAE or Cloud run?
Lets assume that in future Google deprecates Google App Engine, which is serverless component in Google Cloud. Wil this have any impact in the apps hosted in firebase console?
I am trying to understand how it works...
Firebase is a serverless platform, enabling pwa/mobile apps developers with "backend tools" that do not require classic backend development/deploy/maintenance.
It actually combines some frontend specific services (like Test Lab or Hosting) with "lifted" GCP Services (like Cloud Functions, Storage, Authentication, etc), to make GCP more accessible to frontend/mobile developers.
You could deploy the frontend of your app to Firebase Hosting, while using Firebase Functions (lifted GCP Cloud Functions) to run your backend logic (be aware that cloud functions have many different requirements compared to AppEngine -> work differently).
Cloud Functions behind the scenes run on Cloud Run, but that's totally transparent to you.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 months ago.
Improve this question
I have the onUpdate firebase trigger. I migrated all firebase functions to the simple nodejs express server. But I am not sure if it is possible with triggers. This stackoverflow question has similar issue but it is related to firestore.
If there is no way to migrate triggers, would you propose ways to replace this logic?
Thanks in advance!
There is no drop-in replacement for the Cloud Functions trigger syntax in an Express app, but you can build the equivalent functionality.
To listen to updates from Firebase Realtime Database in an Express app, you'd use the Firebase Admin SDK that Node.js and then implement an on('value' listener, as shown in the documentation on listening for value events in Java and Node.js.
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
Is it possible to create a website like Alibaba with Firebase? if so, what languages or technologies should I use.
I know HTML, CSS, JavaScript and PHP
I think this is a very broad question, however, the official Firebase Quickstart Samples for Web is a really good place to start.
You can use several Firebase services such as:
Firebase Hosting which provides fast and secure hosting for your web app, static and dynamic content, and microservices.
Firebase Authentication which provides backend services, easy-to-use SDKs, and ready-made UI libraries to authenticate users to your app. It supports authentication using passwords, phone numbers, popular federated identity providers like Google, Facebook and Twitter, and more.
Cloud Storage for Firebase to store and serve user-generated content, such as photos or videos.
Realtime Database or Cloud Firestore to store extra data. Be sure to check the documentation about choosing the correct database for you.
Firebase guides are also a good place to find very well explained examples. Good luck!
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 month.
Improve this question
I am aiming to deploy a simple web-app written with Streamlit, e.g.
app.py
-
import streamlit as st
st.title('Hello World!')
I can run this on my local machine by running streamlit run app.py in my command line.
However, I'm not sure how to deploy it on firebase hosting.
Any advice?
actually I don't know if there's a way to deploy it using firebase hosting as it is mainly for static content and also right now there isn’t a way to directly deploy your app through Streamlit, but we are working on our “For Teams” offering which is currently in the development phase.
If you’d like to sign-up and hear about it when more information becomes available here is the link.
In the meantime, the community has come up with some amazing ways to deploy Streamlit apps 🤩. Here are a few forum discussions:
Deploying on Azure
Deploying on Glitch
Deploying on Heroku
A few additional resources would be this article written on Medium:
Deploying with AWS EC2 3
And a couple of YouTube video tutorials by JCharis:
How to deploy Streamlit apps [using Heroku]
How to deploy Streamlit apps on AWS Ec2
Hopefully this helps and feel free to let me know if you have any questions! Also any feedback you have on the type of deployment and sharing you would like would be useful as we shape the For Teams product.
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.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I've just started using Firebase to create a web app.
More and more I get the feeling that Firebase is targeting mobile app developers, not web. Yes, they have a Web SDK, but there is so much that is only available for iOS / Android, such as:
Analytics
Notifications
Remote Config
Adwords
Test Lab
Anyone care to shed some light?
Yes, basically Google Analytics was not made for tracking mobile analytics as it is web centric. Firebase started their analytics development around the mobile platform and then Google acquired it. Everything in the mobile is event based, this is the driving force for Firebase analytics.
So, if you are using a web application it is better to use the Google Analytics which is web centric to get the clear and comprehensive web based analytics data.