This question already has answers here:
Is it possible to create a new Firebase project by API?
(2 answers)
Closed 4 years ago.
Is it possible to create a Firebase project in my account without having to do it through the console? Can I do it with an API? I didn't see anything about it in the docs.
I want to use Firebase for my SaaS project, but I use Firebase for authentication. I don't want to keep all the users in one project.
This is not currently possible. I'd encourage you to file a feature request with a detailed use case.
For what it's worth, it most likely will never be possible to spin up a project for each customer of a SaaS product (unless customers are in the 10s).
The Firebase Management API launched at the Firebase Developer Summit in October 2018, and can be used to (among other things) create Firease projects by adding Firebase to existing Google Cloud Platform projects.
Related
This question already has answers here:
Can Firebase hosting restrict access to resources?
(2 answers)
Firebase Hosting - Members Only / Secured Webpages? [duplicate]
(1 answer)
Closed 2 years ago.
I am using my react, redux, firebase, Firestore, auth project and uploaded my project on free google Firebase Hosting.
I am newbie
when I goto inspect and check the console and other code.
my code and information still visible to general public like user email and first and last name.
I was thinking npm run build hides everything automatically.
please help me how to hide sensitive data on free Firebase Hosting.
much appreciated.
Everything you deploy to Firebase Hosting is public. There is no way to change this behavior.
If you are worried about your Firebase configuration, that must be public, and it is safe as long as you have security rules correctly in place. See also: Is it safe to expose Firebase apiKey to the public?
This question already has answers here:
How to clone an existing Firebase project data to another new project?
(3 answers)
Closed 3 years ago.
I would like to create a duplicate project in firebase so that I dont have to go through the hassle of adding the firebase functions and notifications etc. If I could I would just delete all auth users so that its ready for the actual app but I am unable to do that.
So How can I set up a duplicate project but without all the authenticated test users?
There is currently no simple way to duplicate a project. The best you can do is use the management API and the Firebase Admin SDK and Firebase CLI to script the provisioning and setup of the products you use.
This question already has an answer here:
Does the Firebase Spark (free) plan work on a per project basis?
(1 answer)
Closed 3 years ago.
I have a firebase project. I'm intending to add another project for my new app. I know the cloud firestore and storage limitations but I'm not sure if this limitations ar set for per project individually or been set for my firebase account.
The spark plan limitations are per project. You can check all limitations and pricing on the official documentation regarding pricing where it is also mentioned. Please also note, that multiple databases are also allowed per project.
This question already has an answer here:
Does the Firebase Spark (free) plan work on a per project basis?
(1 answer)
Closed 1 year ago.
Do quotas include all projects or are they separate for each firebase/google cloud project?
I am asking this question because I am wondering if I should include multiple apps in one project to keep the price down. Regarding organization, splitting up the apps into multiple projects would be better.
Currently I have an project for an App and another project on Google Cloud to host a website. (All apps will use the same website)
Thanks for your help! (I know this is not a programming question, but it is important to know as a programmer using firebase)
Each project is treated separately. I have multiple projects each on the paid Blaze plans and they each have their own quotas... all on the same Google Payments account. Each month you get an invoice for your Google Payments account that has a total charge, and it breaks that charge down not only into each project, but also the portions of each project (hosting, storage, cloud functions, etc...)
This question already has answers here:
How do I switch apps from the firebase cli?
(9 answers)
Closed 5 years ago.
I have two Firebase projects one for the development of another for production. How do I switch between them in the root branch with cloud functions? Since for example I'm developing a new function and I want to do deploy only on the firebase development project and check how it works before doing deploy in the firebase production project.
Please read the documentation for the Firebase CLI. In particular, you'll want to learn about the firebase use command to create aliases for your projects and switch between them for deployment.