DEV Community

Cover image for What the F*ck is Firebase Now?
Alex Patterson for CodingCatDev

Posted on Edited on Originally published at codingcat.dev

What the F*ck is Firebase Now?

Original: https://codingcat.dev/post/what-the-f-ck-is-firebase-now

▶ Watch on YouTube & Subscribe to CodingCat.dev

What is Firebase

How has it changed?

The Firebase platform is currently shaped by three significant macro-trends that are critical for developers to understand. First, there is an aggressive pivot to generative AI, with Firebase rapidly reorienting its platform to become a premier environment for building, deploying, and managing AI-powered applications using Google's Gemini models. Second, the integration between Firebase and Google Cloud Platform (GCP) continues to deepen, positioning Firebase not as a standalone Backend-as-a-Service (BaaS) but as a sophisticated application development layer on top of GCP's powerful infrastructure. Finally, the Firebase web development stack has grown increasingly specialized, offering distinct solutions for simple static sites versus complex, full-stack modern frameworks, which requires developers to make important architectural decisions early in the development process.

So that I can explain this craziness better I have organized this post according to Firebase's official product taxonomy: AI, Build, and Run. Each product entry includes a concise summary of its function and a detailed table of documentation links categorized by resource type and platform, providing a clear path to the most relevant information.

AI

The products in this section represent Firebase's primary strategic direction, comprising an emergent ecosystem of tools designed for building, deploying, and integrating AI-powered features. The collection of these tools include Firebase Studio for prototyping, AI Logic for client-side integration, and Genkit for backend workflows. This indicates a deliberate strategy by Google to create a fully integrated, end-to-end AI application development environment under the Firebase brand. This ecosystem is designed to abstract away the complexity of underlying models like Gemini and the associated infrastructure, creating a guided path for developers to build production-ready AI applications entirely within the Firebase and Google Cloud ecosystem. On this one, they are not f*cking around!!

Firebase AI Logic client SDKs

Firebase AI Logic, formerly known as "Vertex AI in Firebase" which Vertex is now an API that is enterprise grade (yeah stick with me here), provides client-side SDKs in JavaScript, Kotlin, Swift, and Dart for directly calling Google's Gemini and Imagen models from a web or mobile application. A key component is a proxy service that enhances security by preventing API keys from being exposed on the client. This service also integrates with Firebase App Check for robust abuse prevention, ensuring that API access is restricted to legitimate app instances.

Resource Type Description Link
Product Overview Official product page detailing key capabilities and use cases. firebase.google.com/docs/ai-logic
Get Started Guide Step-by-step instructions for setting up the SDK on all supported platforms. firebase.google.com/docs/ai-logic/get-started
Web SDK Generation Guide on generating type-safe web SDKs for Data Connect, relevant for AI data management. firebase.google.com/docs/data-connect/web-sdk
App Check Integration Documentation for securing AI Logic APIs using App Check on the web. firebase.google.com/docs/app-check/web/recaptcha-enterprise-provider

Genkit

Genkit is an open-source, full-stack framework for building production grade, AI powered applications. It offers a unified interface for a variety of AI models, not limited to Google's, and features composable workflows for creating complex, agentic logic. It includes production ready tools, such as a developer UI for debugging and tracing. Genkit flows can be deployed to multiple environments, including Firebase, Cloud Run, or custom infrastructure. The primary documentation for Genkit has moved to its own dedicated website.

Resource Type Description Link
Official Website The new home for Genkit, with overviews, examples, and getting-started guides. genkit.dev
Firebase Overview The Firebase documentation page for Genkit, linking to the new official site. firebase.google.com/docs/genkit/overview

Firebase ML

Firebase ML is a service focused on deploying custom TensorFlow Lite models for on-device inference. This enables machine learning capabilities that are fast and can function offline, directly on a user's device. It is distinct from the newer AI Logic SDKs, which are designed for calling cloud-hosted generative AI models. Many of the original ready-to-use APIs for common mobile use cases (like text recognition and image labeling) are now part of the standalone ML Kit SDK but remain accessible through Firebase.

Something I didn't add here, but probably should is there is now the ability to run models using on device inference.

Resource Type Description Link
Product Overview Official product page detailing on-device model deployment and capabilities. firebase.google.com/docs/ml

Firebase Studio

Firebase Studio is a browser-based, full-stack AI workspace designed to accelerate the entire development lifecycle. It provides an AI-powered collaborative environment with Gemini integrated for assistance in coding, debugging, and testing. The studio includes built-in web previews and Android emulators for end-to-end testing and facilitates one-click deployment to Firebase App Hosting or Cloud Run, enabling rapid prototyping and shipping of AI-infused applications. I can't seem to jump fully on board with this yet. I find the VM is too slow and only allowing Next.js and not Flutter seems like a real drag to me. Cool for a quick vibe coding app, but not for prime time yet.

Resource Type Description Link
Product Homepage The main product page with an overview of features and access to the workspace. firebase.studio

Build

This section covers the foundational services for application development, data management, security, and deployment. The evolution of these products illustrates a clear and accelerating trend of migrating from Firebase specific, proprietary backends to standardized, powerful Google Cloud services. This progression is evident in the database offerings, moving from the original Realtime Database to the GCP-native Cloud Firestore, and now to Data Connect, which provides direct access to Cloud SQL (PostgreSQL). A similar pattern is seen in hosting, where the original static hosting is now complemented by App Hosting, a managed layer over Google Cloud Build and Cloud Run. This "Cloudification" offers developers immense scalability and power but also introduces the complexities of GCP, such as its billing, IAM, and console, into the Firebase ecosystem which can be a real drag when comparing with Vercel. However I do like the idea of being able to get super granular when I need more power across the apps. At some point I think the AWS Amplify version of these things will arise where you can add to the builds and have true IaC power.

Databases and Data Synchronization

Cloud Firestore

Cloud Firestore is a highly scalable NoSQL document database designed for mobile, web, and server development. It features real-time data synchronization via listeners, comprehensive offline support for building resilient applications, and an expressive querying API. Recent enhancements have introduced vector search capabilities to support generative AI use cases and MongoDB API compatibility, allowing developers to leverage existing MongoDB tools and drivers with Firestore's serverless architecture.

Resource Type Description Link
Product Overview Official product page for Cloud Firestore. cloud.google.com/products/firestore
Native Mode Docs Detailed documentation for using Firestore in its native mode. cloud.google.com/firestore/native/docs
Get Started (Web) A guide for integrating Cloud Firestore into a web application. firebase.google.com/docs/firestore/quickstart
Gen AI Features Documentation on using Firestore's vector search for generative AI applications. firebase.google.com/docs/firestore/solutions/generative-ai-index
MongoDB Compatibility Information on using the MongoDB API with Firestore. cloud.google.com/firestore/mongodb-compatibility/docs/overview

Realtime Database

The original Firebase database, Realtime Database is a cloud-hosted NoSQL database that stores data as a single large JSON tree. Its primary strength is its ability to synchronize data in real-time to every connected client with extremely low latency, making it well-suited for applications that require shared state management, such as collaborative tools or simple multiplayer games.

Resource Type Description Link
Product Overview Official product page detailing key capabilities. firebase.google.com/docs/database
Get Started (Web) Guide for integrating the Realtime Database into a web application. firebase.google.com/docs/database/web/start
Android Guide Unofficial but detailed guide for Android implementation. android-app-development-documentation.readthedocs.io/en/latest/firebase.html

Data Connect

Data Connect is a modern service that bridges Firebase applications with a PostgreSQL database hosted in Cloud SQL, managed via GraphQL technology. A key feature is its ability to automatically generate type-safe client SDKs from a defined schema, which simplifies the process of interacting with relational data structures and provides AI assistance for generating queries and mutations. I sat down with Tyler Crowe from Google to cover this in much greater detail in the below video.

Resource Type Description Link
Product Overview Official product page for Data Connect. firebase.google.com/docs/data-connect
Web Codelab A hands-on tutorial for using Data Connect in a web application. firebase.google.com/codelabs/firebase-dataconnect-web

Hosting and Deployment

App Hosting

App Hosting is a full-stack web hosting solution specifically designed for modern web frameworks like Next.js and Angular. It integrates directly with GitHub for automated, continuous deployment triggered by git commits. The service is built on Google Cloud's scalable infrastructure, leveraging Cloud Build and Cloud Run to provide a managed, production-grade environment.

Resource Type Description Link
Product Overview Official product page detailing features and framework support. firebase.google.com/docs/app-hosting
Get Started Guide Step-by-step instructions for deploying an app with App Hosting. firebase.google.com/docs/app-hosting/get-started
Emulator Guide Documentation on using the App Hosting emulator for local development. firebase.google.com/docs/emulator-suite/use_app_hosting

Hosting

Firebase Hosting provides production-grade hosting for static web content, single-page applications, and through integrations with Cloud Functions or Cloud Run for dynamic content. Key features include a global Content Delivery Network (CDN) for fast content delivery, zero-configuration SSL for security, and simple one-click rollbacks for deployments.

Resource Type Description Link
Product Overview Official product page for Firebase Hosting. firebase.google.com/docs/hosting
Get Started Guide Instructions for setting up and deploying a site with the Firebase CLI. firebase.google.com/docs/hosting/quickstart
Custom Domains Guide for connecting a custom domain to a hosted site. firebase.google.com/docs/hosting/custom-domain
GitHub Integration Documentation on setting up continuous deployment with GitHub Actions. firebase.google.com/docs/hosting/github-integration

Authentication and Security

Authentication

Firebase Authentication provides a complete suite of backend services, easy-to-use SDKs, and ready-made UI libraries (FirebaseUI) to handle user authentication. Just a little update I have confirmation that v7 will fix all the problems that we have with it today!

It supports a wide array of providers, including traditional email/password and phone number sign-in, as well as federated identity providers like Google, Facebook, and Twitter.

Resource Type Description Link
Product Overview Official product page detailing supported providers and features. firebase.google.com/docs/auth
Get Started (Web) Guide for adding authentication to a web application. firebase.google.com/docs/auth/web/start
FirebaseUI (Web) Documentation for the pre-built, customizable sign-in UI library. firebase.google.com/docs/auth/web/firebaseui
React Native Firebase Essential third-party documentation for using Firebase Auth with React Native. rnfirebase.io/auth/usage
Expo Guide Official Expo documentation for using Firebase Auth (JS SDK and React Native Firebase). docs.expo.dev/guides/using-firebase/#authentication

App Check

Firebase App Check is a security service that protects backend resources from abuse, such as billing fraud or phishing, by attesting that incoming traffic originates from a legitimate, untampered instance of an application. For web applications, it leverages Google's reCAPTCHA Enterprise or reCAPTCHA v3 to validate requests.

Resource Type Description Link
Product Overview Official product page explaining how App Check protects backend resources. firebase.google.com/docs/app-check
Web (reCAPTCHA v3) Guide for setting up App Check on the web using the reCAPTCHA v3 provider. firebase.google.com/docs/app-check/web/recaptcha-provider

Backend Logic and Storage

Cloud Functions

Cloud Functions for Firebase is a serverless framework that enables developers to run backend code automatically in response to events triggered by Firebase features (like a new document in Firestore, new upload in Storage) and HTTPS requests. It completely abstracts away server management and scales computing resources automatically based on usage.

Resource Type Description Link
Product Overview Official product page for Cloud Functions for Firebase. firebase.google.com/docs/functions
Get Started Guide Instructions for writing and deploying your first function. firebase.google.com/docs/functions/get-started

Cloud Storage

Cloud Storage for Firebase provides secure file uploads and downloads for user-generated content such as photos and videos. The client SDKs are designed for robustness, gracefully handling poor network conditions by automatically resuming interrupted operations, which saves user time and bandwidth.

Resource Type Description Link
Product Overview Official product page detailing features for storing and serving user content. firebase.google.com/docs/storage
Get Started (Web) Detailed guide for integrating Cloud Storage into a web application. firebase.google.com/docs/storage/web/start
Web Quickstart A sample GitHub repository demonstrating file uploads on the web. github.com/firebase/quickstart-js/tree/master/storage

Run Products

This section details the suite of tools for monitoring application health, understanding user behavior, and driving engagement post-launch. Google Analytics is not merely another product in this category; it serves as the central nervous system for the entire "Run" suite. It provides the foundational data layer upon which nearly every other product depends for targeting, segmentation, and measurement. For instance, A/B Testing relies on Analytics audiences for targeting and events for goal measurement. Remote Config can serve different values to specific Analytics audiences. Cloud Messaging and In-App Messaging use Analytics for campaign reporting and audience targeting , while Crashlytics integrates with it to link crash data with user behavior. This deep dependency means that a robust Google Analytics implementation is a foundational requirement for effectively leveraging Firebase's growth and optimization tools.

Stability and Performance

Crashlytics

I usually leave Crashlytics out of my my posts, but with a lot of React devs now using React Native often, I had to keep it here. Firebase Crashlytics is a real-time crash reporter that helps developers track, prioritize, and fix stability issues. It intelligently groups a high volume of crashes into a manageable list of issues, provides contextual insights to aid in debugging, and integrates with Google Analytics to correlate crash events with specific user behaviors or segments.

Resource Type Description Link
Product Overview Official product page for Firebase Crashlytics. firebase.google.com/docs/crashlytics
Get Started Guide Instructions for adding Crashlytics to your application. firebase.google.com/docs/crashlytics/get-started
React Native How to use React Native and Firebase rnfirebase.io/crashlytics/usage

Performance Monitoring

Firebase Performance Monitoring gathers and presents data on the performance characteristics of an application. For web apps, it automatically measures critical metrics like first contentful paint and page load times, in addition to monitoring HTTP network requests. It also allows for the creation of custom traces to monitor the performance of specific code paths within an application.

Resource Type Description Link
Product Overview Official product page for Performance Monitoring. firebase.google.com/docs/perf-mon
Get Started (Web) Guide for integrating Performance Monitoring into a web application. firebase.google.com/docs/perf-mon/get-started-web

Test Lab

Firebase Test Lab is a cloud-based app testing infrastructure that allows developers to test their application on a wide range of physical and virtual devices and configurations, helping to identify issues before release. This has been a life saver when messing with React Native as well!

Resource Type Description Link
Product Overview Official product page for Firebase Test Lab. firebase.google.com/docs/test-lab

Analytics and User Insight

Google Analytics

Google Analytics for Firebase is an unlimited, free app measurement solution that provides deep insight into app usage and user engagement. It automatically captures a rich set of events and user properties and allows for the creation of custom audiences that can be used for targeting across other Firebase products like Remote Config and Cloud Messaging.

Resource Type Description Link
Product Overview Official product page for Google Analytics for Firebase. firebase.google.com/docs/analytics
Get Started (Web) Detailed guide for adding Google Analytics to a web application. firebase.google.com/docs/analytics/get-started?platform=web
BigQuery Export Instructions for linking Analytics data to BigQuery for advanced analysis. support.google.com/firebase/answer/6318765

User Engagement and Growth

A/B Testing

Firebase A/B Testing is a tool for running experiments to test changes to an app's UI, features, or engagement campaigns. It integrates tightly with Remote Config, Cloud Messaging, and In-App Messaging to test different variants and measures their impact on a primary goal metric, which is typically a Google Analytics event.

Resource Type Description Link
Product Overview Official product page for Firebase A/B Testing. firebase.google.com/docs/ab-testing
Remote Config Experiments Guide for creating experiments that test Remote Config parameter values. firebase.google.com/docs/ab-testing/abtest-config
Messaging Experiments Guide for creating experiments that test Cloud Messaging notifications. firebase.google.com/docs/ab-testing/abtest-with-console

Cloud Messaging (FCM)

Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that enables the reliable sending of notifications and data messages to single devices, groups of devices, or users subscribed to specific topics.

Resource Type Description Link
Product Overview Official product page for Firebase Cloud Messaging. firebase.google.com/docs/cloud-messaging
Add Firebase to Web App The foundational setup guide for using any Firebase service, including FCM, on the web. firebase.google.com/docs/web/setup

In-App Messaging

Firebase In-App Messaging engages active app users with targeted, contextual messages, such as cards, banners, and modals. It uses Google Analytics to trigger these messages based on specific user behaviors, demographics, or events, making them highly relevant.

Resource Type Description Link
Product Overview Official product page for Firebase In-App Messaging. firebase.google.com/docs/in-app-messaging
Compose a Campaign Guide for creating and customizing an in-app messaging campaign. firebase.google.com/docs/in-app-messaging/compose-campaign

Remote Config

Firebase Remote Config allows developers to change the behavior and appearance of their application remotely without requiring users to download an update. It uses parameters and conditions, which can be targeted to specific Google Analytics audiences, to serve different values to different user segments and supports gradual feature rollouts. You can also use server side remote config

Resource Type Description Link
Product Overview Official product page for Firebase Remote Config. firebase.google.com/docs/remote-config
Get Started (Web) Guide for integrating Remote Config into a web application. firebase.google.com/docs/remote-config/get-started?platform=web
AI Remote Config for AI firebase.google.com/docs/remote-config/solution-server

App Distribution

Firebase App Distribution is a tool for distributing pre-release versions of an application to trusted testers. It simplifies the beta testing process by providing tester management, feedback collection capabilities, and integrations with CI/CD workflows for automated builds.

Resource Type Description Link
Product Overview Official product page for Firebase App Distribution. firebase.google.com/docs/app-distribution
Distribute iOS (Console) Guide for distributing iOS apps to testers using the Firebase console. firebase.google.com/docs/app-distribution/ios/distribute-console
Distribute Android (Console) Guide for distributing Android apps to testers using the Firebase console. firebase.google.com/docs/app-distribution/android/distribute-console
React Native Guide for distributing React Native Firebase rnfirebase.io/app-distribution/usage

Monetization and Acquisition

Google AdMob

Google AdMob is a platform for monetizing mobile applications through in-app advertising. It integrates with Firebase and Google Analytics to provide rich user metrics that can inform a developer's monetization strategy and improve user experience.

Resource Type Description Link
Product Overview Official product page for using Google AdMob with Firebase. firebase.google.com/docs/admob
Link AdMob to Firebase Support document on how to link an AdMob app to a Firebase project. support.google.com/admob/answer/6383165

Google Ads

Google Ads allows developers to run targeted ad campaigns to drive app installs and conversions. The integration with Firebase is crucial, as it leverages Google Analytics audiences created in Firebase for precise ad targeting and campaign measurement.

Resource Type Description Link
Product Overview Official product page for using Google Ads with Firebase. firebase.google.com/docs/ads

What's Next

I really think that Firebase is finally getting the attention it deserves again because of all the AI money flowing towards it. I would still like products like GenKit to sit fully within the Firebase docs as I know when these things move out they will be killed off or not maintained in the future.

Firebase has a lot of old code and SDKs floating around that need updated and cleaned up to get on par with other services. They unfortunately don't have the team at Google that they deserve. I am happy that items for Authentication are being looked at, but the focus for the near future will remain on AI. I hope to see something similar to the OpenAI Apps SDK for Gemini, but at least we have Gems for now.

Resources, Links & Official Documentation

Related CodingCat.dev Tutorials & Podcast Episodes

Frequently Asked Questions (FAQ)

What are the main takeaways from What the F*ck is Firebase Now??

The Firebase platform is evolving with a focus on generative AI, deeper integration with Google Cloud, and enhanced web development capabilities, requiring developers to navigate a complex yet powerful ecosystem. What the F*ck is Firebase Now? explores practical patterns for Firebase, Google Cloud, AI in modern software engineering. Throughout this post, Alex Patterson breaks down real-world implementation details for Firebase, Google Cloud, AI so developers can apply these patterns directly in production.

How do you implement Firebase best practices in production?

When adopting Firebase and Google Cloud in a production stack, start by validating your configuration against the Firebase Documentation (Firestore, Data Connect, Authentication, App Check, and Cloud Functions). Focus on incremental adoption, automated testing, and observability so your team can measure performance and developer velocity improvements at each stage.

Where can I watch the full What the F*ck is Firebase Now? walkthrough and find related code resources?

You can explore the complete write-up and code examples right here on CodingCat.dev, and subscribe to the CodingCat.dev YouTube channel for weekly video tutorials. For a deeper dive into Firebase, check out our related guide: Data Connect is now generally available! in Firebase: Web Architecture & Implementation Guide.

Top comments (0)