More PWA apps on Firebase hosting, how to? - firebase

I would like to have more independent PWA apps on Firebase hosting. Each on separte subdomain, e.g.:
app1.site.com, app2.site.com, app3.site.com
I have no idea how to configure Firebase hosting and how to organize files and folders.
I have searched web but found nothing.

Firebase doesn't yet support hosting different web apps under the same Project. You will want to create a separate Firebase project for each of your PWAs, and connect the appropriate custom domain to each.

Related

Can you move a firebase hosting site to a different project?

So, I was wondering, is it possible to move a firebase hosting site to a different project?.
I searched through the documentation, but I dont see anything anywhere that says how to do it, or if it is even possible
There is no built-in operation to move to a new project. But if you're deploying with the Firebase CLI, you can run:
firebase use <new project ID>
And then:
firebase deploy
To deploy the same content to the other project.
If you have your code for the site then you can just create a new folder and use firebase init hosting and initialize hosting in new project.
After that the process of deploying remains the same i.e.
firebase deploy --only hosting
PS: Also if you are using any custom domains, you would have to verify the ownership of the domain again in the new project.

Whats the difference between firebase web app and firebase hosting

what is the difference between the firebase web app and firebase hosting?
As far as i can tell the web app is used for an app thats actually just a browser,
and the firebase hosting is used just for websites.
Firebase for Web-Apps is a JavaScript library and Firebase Hosting is a web-hosting platform.
The JS can be loaded from just any web-server, but on Firebase Hosting it is better integrated with other the components in the Firebase ecosystem - and it can be deployed with the Firebase CLI.

Is it possible to create a website in firebase multi site hosting through the cli?

We are looking into using firebase for hosting our websites, but we can't figure out a way to create multiple websites in a single project without going to the interface and doing it manually. Is it possible to use firebase-tools or a different gce service for this?
As far as I can tell there is no way to create a new sub-site through the Firebase CLI at the moment. You can deploy to multiple sites through the CLI, but you will have to set each site up through the Firebase (web) console.

What type of projects can I host on Firebase?

I hosted an Angular 4 project in Firebase hosting.
What firebase documentation page say is deploy your web app or static assets.
All I want to know is what other type of projects or technologies I can host on Firebase Hosting.
Thanks in Advance.
You can deploy anything you want that requires static content to be delivered over HTTPS.

Deploying web apps that use firebase

Assuming that I used Firebase services on my web and I want to deploy the web app on a hosting site, do I have to do deploy it in Firebase hosting or any hosting site will do?
If you're using Firebase, then it already has a free hosting domain. So you can directly deploy it on Firebase. Here's a guide for you. If you want, you can also use a custom domain and it's free on Firebase now.
Web apps that use Firebase features (such as the Realtime Database, Storage, Authentication or any of the others) can be deployed any hosting service. Using Firebase Hosting is not required.

Resources