Deploying Convex app with Firebase App Hosting
I was wondering if anyone has tried deploying a Convex app with Firebase App Hosting and if there's any limitation at this point given that it's in pre-GA: https://firebase.google.com/docs/app-hosting
Firebase
Firebase App Hosting
Firebase App Hosting is a framework that provides serverless hosting for modern, full-stack and AI web apps.
10 Replies
Do you plan to host your frontend (SPA or Next.js etc.) and use Convex's cloud for the Convex backend? This would be very similar to a Vercel setup and should work without problems.
It depens on your framework. If your frontend framework is supported by Firebase it should work.
yeah it's a Nextjs app that uses Convex's cloud for the backend, so far no issues!
I have experience hosting next.js on Firebase Hosting. I took a lot of work to get it to work at all, and even then, only the client side rendering worked. A lot of the benefit of next.js ssr is lost. Firebase docs do have some suggestions to call a firebase function (now a gcp cloud run) for ssr functions. But it’s hard to code
Firebase seems strategically not invested in making that a great experience. You can see that by how long (years) framework aware hosting has been in beta. The auth client has stopped getting updates. The hosting is still fundamentally about static assets
My earlier comments were about Firebase hosting, not firebase app hosting, which I’m actually not aware of
Today, I read about Firebase App Hosting. Exciting! Where was this when I was using Firebase last year 🙂
https://firebase.blog/posts/2024/05/introducing-app-hosting/
It is totally separate from the Framework-aware hosting that is still experimental:
https://firebase.google.com/docs/app-hosting/product-comparison
Happy to see that there are more hosting services for Next.js. Let us know how Next.js Firebase goes as you use it!
The Firebase Blog
Introducing Firebase App Hosting
The next generation of serverless web hosting with Google
so far it's working pretty well but will keep you posted!
most likely the first playground of our app built with Convex will be hosted on firebase app hosting and we'll share a link to that soon
How has Firebase App Hosting been working for you? I'm considering using it
We’re using vercel
Had issues with custom domains and their support is horrible
I know there's been a fair amount of blowback on vercel lately. and I get it
but hate to say it--most teams should just use them
it's the best product right now for those needs in our opinion
we use vercel pretty heavily
Ah that’s too bad. Yeah, in my experience, the customer support is emails with a few days lag. I assume their better customer support is really GCP support for huge customers.
It’s a little concerning that for every front end hosting solution, if you search “override build command” in their docs, only Vercel and Netlify return results. Still a small industry!