Learn how to use the new multisite hosting feature from Firebase to deploy multiple web apps to a single project angularfirebas... - Multisite Announcement firebase.googl...
You mention having separate public & admin sites for a single project. Do you typically keep these as separate codebases (i.e. separate repos, separate firebase.json, etc.)?
I hadn't heard of these terms before now, but it seems like combining things into a single workspace (or “monorepo”) has a lot of benefits, such as not having to make an npm package out of code shared between the two apps. Here's an article I found really useful if anyone else is interested: nrwl.io/nx/why-a-workspace
It worked, thank you, but now how to use the same firebase auth method for both sites? It shows auth domain error in second site, but I added its domain to the list in firebase auth section
One thing I don’t understand is why need different builds instead of built in translation functionality to translate within the app with packages like ngx-translate. I would really appreciate if someone explains
Hi Jeff ! Do you know if it's possible to have several projects in separate git repo but using the same firebase hosting ? I guess if I "firebase deploy" from one repo it will erase the other compiled projects ? Thanks
I no longer need my default site within my project, which includes other sites (multisite). What things can I do to make sure that default site is never publicly accessible to the web?
another question - can i setup a redirect from one site to another? in my case, my default site to always go to the site I want to treat as default. Is this possible?
I think the public/admin scenario you mentioned is a really good use case-two separate apps with separate purposes needing to use the same Firebase project. I hope this scenario can feature in a future video, possibly discussing Nx workspaces or something similar.
Almost 4 years later, and works perfectly! Thanks
Belated happy birthday to you Jeff,
God bless you and your family specially the firebaby
Thank you very much :)
Thanks, it is still relevant in 2023. I was able to build my public & admin sites for my project using your guidance.
Happy Birthday Rabbi..... Wish you lots of love. Thanks so much for everything and this one too
Thank you!
Excellent resource still valid and to the point in 2023.
2 years later & still came in clutch!
Happy birthday, Jeff. Thanks for the videos, man :)
You bet, thank you!
Happy Belated Champ! Thanks for all you do!!
Thank you Troy, and thanks for watching :)
Thanks a lot, you speak so clearly that I can understand even in 1.5x (and i'm french)
Hey, thank you so so much! I was trying to accomplish this task and you just made it completly easy to comprehend and to do!!
Thanks for this. Been looking for a resource all morning and your video and short and precise
You're something different, happy birthday! I wish you health!
Thank you Marius!
Thank you for the simple and to the point tutorial.
Great news :D Belated happy birthday, Jeff!
Thanks! It is great news and a game changing feature for many projects.
Happpy Belated man! we apprciate you
Thank you Carlton, much appreciated :)
Esto me funciono perfecto para un blog con Jekyll y un sitio principal con Next.js !!! lo amé
¡Genial video Jeff! .. ¡Great video Jeff!
Gracias Andres :)
Que bueno leerte en español... =)
Hablo un poco español
Hey can you give an example with Nx from Nrwl. That might be suitable .. 😀😀
Much love, many thanks again!!!
Likewise, thanks for watching!
You mention having separate public & admin sites for a single project. Do you typically keep these as separate codebases (i.e. separate repos, separate firebase.json, etc.)?
It depends... If you use something like an NX workspace to build a monorepo, or keep things separate
I hadn't heard of these terms before now, but it seems like combining things into a single workspace (or “monorepo”) has a lot of benefits, such as not having to make an npm package out of code shared between the two apps.
Here's an article I found really useful if anyone else is interested:
nrwl.io/nx/why-a-workspace
Awesome, was waiting something like this.
Yes. Happy birthday to you!
Thank u for this awesome video, happy birthday
Happy birthday!
Thank you!
It worked, thank you, but now how to use the same firebase auth method for both sites? It shows auth domain error in second site, but I added its domain to the list in firebase auth section
One thing I don’t understand is why need different builds instead of built in translation functionality to translate within the app with packages like ngx-translate. I would really appreciate if someone explains
Thanks for this amazing tutorial!
How do you tell firebase to route /fr to the fr-angularfirebase.firebaseapp.com??
I wish, you create more Basic videos :)
You are great! Thanks
thanks for help :)
Finally thanks 😍😙
Pleaze tell me whats the name of background music?? Please and belated happy birthday!!
Hi Jeff ! Do you know if it's possible to have several projects in separate git repo but using the same firebase hosting ? I guess if I "firebase deploy" from one repo it will erase the other compiled projects ? Thanks
Oh, I've watched the video again and I guess I could do it by using the target property ? I'll give it a try
Hi, thanks for the video. You forgot to mention that the multi-hosting doesn't work for the free (spark) plan.
I no longer need my default site within my project, which includes other sites (multisite). What things can I do to make sure that default site is never publicly accessible to the web?
another question - can i setup a redirect from one site to another? in my case, my default site to always go to the site I want to treat as default. Is this possible?
Great video ! Thanks man
we can use ngx-translate instead
Yes, I much prefer ngx-translate over separate builds. But I needed a good use-case demo for the video.
@@Fireship Absolutely serves the cause 👍.... Great Content and wish you happy birthday 😊
I think the public/admin scenario you mentioned is a really good use case-two separate apps with separate purposes needing to use the same Firebase project. I hope this scenario can feature in a future video, possibly discussing Nx workspaces or something similar.
Can someone share tips on how to setup multi-tenant database on firebase so that mutiple websites point to multiple tenanti-ds
Awesome as usual :)
that was great help thanks:)
It would be cool if you could create a video showing how you create these videos. Maybe for 100k?
So question is can I host a website AND an Ionic app with one project?
You can have multiple PWAs, plus 1 ios and 1 android app per project.
Please, would you take look at MONGODB STITCH, I think it is a lot better than Firestore because of the querying power of mongodb. Please check it out
background music?
So all the projects have to share the same firebase config files on your computer? That's dumb.
정말 감사합니다 ㅠ
Awesome
Yes, this was a much needed feature so glad to see it :)
You (Fireship) would be a great dad to baby (Fireboat)
This is so damn cooolll😍
I agree, solves many frustrating issues I've hit in the past
Great!
Woooooooooo
YEEEES!! ♥️
(Y)