firebase / quickstart-js

Firebase Quickstart Samples for Web

Home Page:https://firebase.google.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hosting Firebase on Digital Ocean

charlesmudy opened this issue · comments

Hello,

My experience with Firebase hosting isn’t pleasant at all, when I compare the loading speed between a plain static page without any logic on Firebase and Digital Ocean.

I would like to have my site hosted on DO while running the backend on FB

I am a bit lost though on what files I need to push to DO and to connect it with FB functions. I’m guessing I only have to deploy functions to FB without any public folder?

Thanks in advance

@charlesmudy I assume you mean you want to use DigitalOcean for static hosting but host Cloud Functions with Firebase? That's totally fine! There's no "connection" you need to make at all between DO and Firebase. Just deploy the Functions (firebase deploy --only functions) and then each will have a public URL you can use from anywhere.