Data and backend platforms

Firebase development in Tunisia.

Firebase: built for mobile apps, priced per read. Firebase is Google's backend platform for apps: Firestore, a NoSQL document database with offline sync, plus authentication, cloud functions, file storage, push notifications, crash reporting and remote configuration.

  • Google Cloud
  • Firestore
  • Push and Crashlytics
On this page
  1. 01When to choose it
  2. 02Strengths
  3. 03Limits
  4. 04What we build
  5. 05Architecture
  6. 06Hiring and cost
  7. 07Questions
  8. 08Related
  9. →Next step

Some of its tools are useful even when the main backend is something else.

01When to choose it

When Firebase is the right call.

Choose Firebase when the product is a mobile app first, needs to work offline and sync when the network returns, and its data is naturally shaped as documents: profiles, posts, messages, simple orders. Firestore's client SDKs for Flutter and React Native make live, offline-capable screens straightforward.

Even when the main backend is PostgreSQL, parts of Firebase are often worth using: Cloud Messaging for push notifications, Crashlytics for crash reports, and Remote Config for switching features on without a release. When the data is strongly relational or reporting-heavy, we prefer Supabase or a PostgreSQL backend.

02Strengths

What Firebase does well.

01Offline sync
Firestore caches data on the device and syncs changes when the connection returns, with little extra code.
02Mobile tooling
Push notifications, crash reporting, analytics and remote configuration that mobile teams rely on.
03Real time by default
Screens subscribe to data and update live when it changes, without building a WebSocket layer.
04No servers to run
Google operates the infrastructure; scaling the database is not your problem.

03Limits

Where Firebase falls short.

Every tool has a cost. These are the ones we tell you about before you commit, not after.

01Querying
Firestore queries are limited compared with SQL. Joins do not exist, so data is duplicated and shaped around each screen's reads.
02Cost model
Billing is per document read, write and delete. A careless listener or query can multiply the bill; we design reads deliberately.
03Lock-in
Firestore is proprietary. Leaving means remodelling the data and rewriting the parts of the app that talk to it.

04What we build

What we build with it.

01

Mobile-first apps.

Apps that must work on a weak connection, with live data and offline support.

02

Chat and live features.

Messaging, presence and live updates without a custom real-time server.

03

Push and app health.

Cloud Messaging and Crashlytics added to any app, whatever its main backend.

04

Prototypes.

A working app in front of users quickly, when the data model is simple and still changing.

05Architecture

The shape we usually start from.

A starting point. We adjust it for each project once the scope is written down.

  1. 01

    Data modelled for reads

    Collections designed around what each screen loads, with duplication accepted and documented.

  2. 02

    Security rules as code

    Firestore and Storage rules kept in the repository and tested with the local emulator before deployment.

  3. 03

    Functions for trusted work

    Payments, notifications and anything that must not run on the client live in Cloud Functions.

  4. 04

    Budget alerts and an export path

    Billing alerts from day one, and a scheduled export of data so it is never only inside Firestore.

06Hiring and cost

Hiring, handover and cost.

Mobile developers often know Firebase already, so it is easy to staff. What is harder to find is good NoSQL data modelling, and a poorly modelled Firestore project gets expensive and slow as it grows. We document the data model and the reasons behind each duplication.

Firebase can cost little at the start and grow with usage, sometimes faster than expected. We estimate reads per user per day during scoping and set billing alerts. If the product later needs SQL, migrating is a project of its own, which is why we raise it before you choose.

How we price a project

07Questions

Questions we get asked.

Firebase or Supabase?

Firebase for mobile-first apps that need offline sync and Google's mobile tools. Supabase when the data is relational, you want SQL, and an easy exit matters. Mixing is common: Supabase for data, Firebase for push and crash reports.

Can we use Firebase only for notifications?

Yes. Cloud Messaging and Crashlytics work alongside any backend. Many apps use them with a PostgreSQL or Supabase backend.

Will Firebase get expensive?

It can if reads are not designed carefully. We model data to keep reads low, set budget alerts, and estimate usage before launch.