Data & AI Infrastructure
Firebase
Build web and mobile backends with managed authentication, storage, hosting, and data services.
- G2 rating
- 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.
| Problem | What to check | What to change |
|---|---|---|
| A stale preference appears after switching users | Trace listeners and local cache against the authenticated user ID | Remove old listeners and reload the new account's preference after sign-in |
| Read counts spike in an ordinary session | Inspect subscriptions and query scope during navigation | Keep 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.
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.
- Create test project or emulator services and define documented read and write conditions.
- Save different settings as two users, then reload the page under each account.
- 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.
| Check | What you might see | What to do next |
|---|---|---|
| Account A | Theme is light. | Confirm the expected record key. |
| Account B | Theme is dark. | Sign out and sign back in. |
| Signed out | The 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 case | How to try it | What to check |
|---|---|---|
| Device preferences | Save a sample user’s options in Firestore. | Check data when both signed in and signed out. |
| Mobile records list | Query a limited set of rows by time. | Compare return values, empty states, and pagination. |
Which plan should you try?
| Plan | Price | Who should consider it |
|---|---|---|
| Spark | US$0 within included limits | Start with the available no-cost tiers and emulator. |
| Blaze | Usage-based with no-cost allowances | Check 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
1 featured user review.
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.
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
-
Verify Firestore emulator export for a non-default database ↗
This Firebase CLI issue describes why a fixture export appeared incomplete when it used an additional database and identifies the flags involved.
Firebase CLI GitHub Issues