Data & AI Infrastructure

Firebase

Build web and mobile backends with managed authentication, storage, hosting, and data services.

G2 rating
4.5 / 5 · 308 reviews
Pricing
Spark
US$0 within included limits
Blaze
Usage-based with no-cost allowances
Best for
App developers who want a managed backend while testing authentication and data features together.

Video tutorial

Getting started with Cloud Firestore for the web · Firebase · Watch on YouTube ↗

What is Firebase?

Firebase offers managed services such as Authentication and Firestore. An app can sign users in and read or write eligible records through supported client SDKs. Decide how records will be queried and how access will be enforced before connecting real accounts.

Firestore charges can depend on operations rather than simply the amount of stored data. A screen that refreshes frequently may use a different amount than an equally sized static list.

Set up and test a real workflow

Use the emulator or a development project and create two fake accounts before using real data. Choose document IDs, auth state, and access rules up front. Since multiple reads may occur before a page settles, log what fires and compare it with the actions users actually take.

What to look for in the result

Store the display mode in a document for each user, with default "system" if nothing is saved. Sign in as user A, save dark, reload, then sign out and use B. Verify B starts with the default and cannot read A's setting via the app's function. Repeat while offline in the emulator or a device test, noting how the interface communicates whether the update is pending or confirmed.

Common problems and how to fix them
ProblemWhat to checkWhat to change
A stale preference appears after switching usersTrace listeners and local cache against the authenticated user IDRemove old listeners and reload the new account's preference after sign-in
Read counts spike in an ordinary sessionInspect subscriptions and query scope during navigationKeep queries scoped and stop listening when the relevant view closes

Try it: Store a private preference for two test accounts

Build a small prototype that saves a theme setting keyed by its authorized user.

Sample brief
Make a demo preference page that lets a signed-in user pick light or dark. Store one document per user. Use two fake accounts and confirm each sees only their own setting.
  1. Create test project or emulator services and define documented read and write conditions.
  2. Save different settings as two users, then reload the page under each account.
  3. Check signed-out behavior and one denied operation without touching a production project.

What a usable result looks like

Settings persist per account and unauthenticated queries cannot retrieve another user’s preferences.

Example results for the sample brief
CheckWhat you might seeWhat to do next
Account ATheme is light.Confirm the expected record key.
Account BTheme is dark.Sign out and sign back in.
Signed outThe interface asks for sign-in and no document is returned.Review the access-rule test.

What to save from the trial

A working demo and a small set of permission and persistence checks.

Another scenario

Adapt the test for asynchronously updated tasks by confirming how a listener behaves when a row changes.

Use cases and what to check

Use caseHow to try itWhat to check
Device preferencesSave a sample user’s options in Firestore.Check data when both signed in and signed out.
Mobile records listQuery a limited set of rows by time.Compare return values, empty states, and pagination.

Which plan should you try?

PlanPriceWho should consider it
SparkUS$0 within included limitsStart with the available no-cost tiers and emulator.
BlazeUsage-based with no-cost allowancesCheck the product and region. Example: Cloud Functions invocations cost US$0.40 per million after the included allowance.

Estimate each service using operation counts and add billing alerts for a paid project.

Provider pricing and access ↗ · Checked

What people say about Firebase

4.5 / 5308 reviews on G2 ↗

1 featured user review.

parth A.

Prototyping across devices

Used Firebase to handle sign-in and synchronize data on several phones. Reported that rule and authentication problems could take time to diagnose.

4/5 · September 23, 2026 · G2 ↗ · Paraphrased

Limits to check

Service quotas, database location, and access rules affect design and costs.

When to choose it

Firebase fits a mobile or web team that values managed data, authentication, and synchronization. Use a more conventional relational backend if your core workflow needs flexible joins or existing SQL reports.

  • Supabase · Build an application backend with Postgres, authentication, file storage, and APIs.
  • Neon · Run serverless Postgres and use database branches to test isolated schema changes.
  • Turso · Build with SQLite-compatible databases for apps that need embedded or remote data access.

Common questions

Can a UI filter protect user data?
Enforce permissions with service-side checks and validate each scenario in an emulator or sandbox.
What should we measure in a larger pilot?
Measure reads, writes, storage, and transfer for normal and peak usage patterns.

Community posts

Sources and further reading