Home / Insights / Web and SaaS Development

Web and SaaS Development

How We Built a Care Management Platform for Australian Disability and Aged Care with Angular, Flutter and Firebase

Care providers need two very different products that share one source of truth: a dense office application for rostering, records and claims, and a simple mobile app for support workers on shift. This is how we approached the architecture for an Australian disability and aged care client, and why Angular, Flutter and Firebase suited the job.

TopicsWeb and SaaS DevelopmentMobile App Development

Key takeaways

  • Splitting the product by user, an Angular web app for coordinators and a Flutter app for field workers, let each interface be optimised for its job while both used the same Firebase backend.
  • On Firebase, access control lives in server-side security rules and token claims, not in the client. Designing roles and data paths together early saves painful rewrites later.
  • Shift data must survive poor connectivity. Firestore-style offline caching helps, but last-write-wins sync means the data model must avoid two people editing the same record.
  • Claims and invoices should be generated only from approved shifts and pass automated audit checks first; the integration with accounting is the end of a pipeline, not a shortcut.
  • This stack fits small and mid-sized providers well; heavy reporting, complex relational queries or strict hosting requirements may push you towards a different backend.

This article is for CTOs, founders and product owners at care providers and care-tech start-ups who are planning a rostering and client management platform, and for anyone weighing Angular, Flutter and Firebase for a two-sided operational product. It describes the care management platform we delivered end to end for an Australian disability and aged care client. I was involved as architect, so the focus here is on technical decisions: how the system is split, where data and rules live, how the mobile app copes with patchy connectivity, and how approved work becomes an invoice.

The business problem, as the case page puts it, is that providers must schedule support workers, keep accurate client and funding records, and turn delivered shifts into correct claims. The platform we built has two front ends: a web application for office and coordination teams and a mobile app for support workers in the field. Its features include rostering and shift scheduling, client records with funding details and case notes, staff management with role-based access and qualification tracking, mobile clock-in, shifts, case notes and leave requests, timesheet approval with automated invoicing from approved shifts, and audit checks before claiming with accounting and NDIS portal integrations.

Where the case page does not state a detail, I describe our general engineering approach rather than claiming specifics, and I label illustrative figures. Many of the same building blocks, scheduling, client records, progress notes and staff-to-client communication, also appear in the fitness and wellness products we build, so the architecture lessons carry over to coaching and wellness platforms.

The shape of the system: two apps, one backend

The first decision was to stop thinking of the platform as one application. Coordinators and support workers do different jobs, on different devices, in different conditions.

  • Office and coordination staff spend hours a day building rosters, matching workers to clients, checking qualifications, approving timesheets and preparing claims. They need dense tables, filters, bulk actions and keyboard-friendly forms on a large screen.
  • Support workers need to see today’s shifts, get directions, clock in and out, write case notes and request leave, often in a car park or a client’s home with weak signal. They need large controls, few screens and confidence that what they entered has been saved.

We therefore built an Angular web application for the office, a Flutter mobile app for the field, and a shared backend on Firebase. The stack also includes Google App Engine and AWS S3 and CloudFront, with Stripe and the Xero API as integrations. The responsibilities in the table below reflect how we generally divide work across those layers.

LayerTechnology (from the case page)Typical responsibility
Office web appAngular, Angular Material, NgRxRostering, client and staff records, approvals, claims preparation, reporting views
Field mobile appFlutterShifts, clock-in and out, case notes, leave requests
Core backendFirebaseAuthentication, data storage and real-time sync, access rules
Server-side servicesGoogle App EngineBusiness logic that must not run on clients, such as invoice generation and integrations
FilesAWS S3 and CloudFrontDocument and media storage and delivery
IntegrationsStripe, Xero API, NDIS portalPayments, accounting and claiming

Lesson: decide the split by user and environment before you choose frameworks. Once you know you need a desktop power tool and a simple offline-tolerant mobile app, the framework choices follow.

Why Angular, Flutter and Firebase

Angular for the office application

An operations back office is a long-lived, form-heavy application with many screens and many developers touching it over time. Angular’s opinionated structure, built-in dependency injection and strong typing suit that kind of product, and Angular Material gives a consistent set of accessible components for tables, dialogs and forms without designing each one from scratch. We used NgRx for state management in the web app. In a rostering screen, the same shift can appear in a calendar, a worker’s timeline and a client’s schedule at once; a single store with predictable updates keeps those views consistent when someone drags a shift or a background update arrives. If you are staffing a product like this, our guide to hiring Angular developers for enterprise apps covers the skills that matter.

Flutter for the support worker app

Support workers use whatever phone they own, so the app has to run on both Android and iOS. Flutter lets one team ship a single codebase to both platforms with consistent behaviour, which matters when a training guide or a support call needs to describe exactly what a worker sees. Where an app needs device features beyond the standard plugins, Flutter supports native integration; see our article on Flutter platform channels and plugins for when that is worth it.

Firebase as the backend

Firebase gave us managed authentication, a real-time data layer, security rules and hosting-adjacent services without the client having to run servers. For a provider that wants to focus on care rather than infrastructure, that matters. Real-time sync is also a natural fit for rostering: when a coordinator reassigns a shift, the worker’s phone can reflect it without a manual refresh.

When we would choose differently

SituationThis stackConsider instead
Small to mid-sized provider, fast delivery, limited ops staffStrong fit–
Heavy cross-entity reporting and ad hoc analyticsWorkable with an export pipelineA relational database for reporting, or a data warehouse alongside Firebase
Strict requirement to host in a specific environment you controlCheck provider regions and contractsA self-managed backend on your chosen cloud
Office staff mostly on tablets in the fieldAngular still works, but check ergonomicsFlutter for both front ends
Very complex transactional logic across many recordsMove logic to server-side servicesA conventional API backend with a relational database

Lesson: pick a managed backend when it removes work the client does not want to own, and plan an escape hatch, such as server-side services and data exports, for the things it does not do well.

Roles, data paths and security rules

Care data is sensitive: client details, funding information, case notes and staff qualifications. The case page lists staff management with role-based access as a core feature, and on Firebase that access control has to be designed into the data model from the start.

How Firebase enforces access

According to the Firebase Security Rules documentation, rules sit between your data and users, live outside the client app and are deployed separately, so bugs in client code do not by themselves expose data. Rules combine with OR logic: if any matching rule grants access, access is allowed, which means a broad rule cannot be narrowed by a more specific one. That single fact shapes how you lay out data.

Roles can be carried in the user’s token. The custom claims documentation describes claims as attributes attached to a user account, most often for role-based access control, set only from a privileged server environment with the Admin SDK and limited to 1,000 bytes. Because claims travel in the ID token, rules can check them without a database lookup, but changes only take effect when a new token is issued.

Our general approach

  1. Model roles first. For a care provider, typical roles include administrator, coordinator, finance and support worker. Write down what each can read and write before designing collections.
  2. Keep claims coarse. Put stable facts, such as role and organisation, in claims; keep fast-changing assignments, such as which clients a worker is rostered with this week, in data the rules can check.
  3. Shape data paths around access. Because rules are additive, avoid structures where a broad read rule on a parent accidentally exposes sensitive child data. Separate highly sensitive fields, such as funding details, from general profile data.
  4. Keep privileged logic on the server. Invoice generation, claim submission and role changes run in server-side services, not in either client.
  5. Test rules like code. Firebase provides emulators for validating rules before deployment. We treat a rule change like any other change: tested, reviewed and released deliberately.

For background on the audit and permission patterns behind back-office tools, see our article on internal operations portals, roles and audit logs.

Lesson: on Firebase, the security model and the data model are the same design exercise. Do them together, in the first sprint.

Shifts in poor signal: offline behaviour and sync

A support worker who cannot clock in because a client’s home has no signal will stop trusting the app, and a missing clock-in becomes a timesheet query and possibly a delayed claim. Offline behaviour was therefore a requirement, not a nice-to-have.

What the platform gives you

Cloud Firestore is the document database most Firebase projects use, and its offline documentation explains that on Android and Apple platforms offline persistence is enabled by default, while on the web it is off by default. Apps can read, write, listen to and query cached data while offline, and local changes sync when the device reconnects. The default cache threshold is 100 MB, after which older unused documents are removed. Importantly, when several changes touch the same document, the last write wins.

Designing around last-write-wins

Last-write-wins is fine if two people never edit the same thing at the same time. Our general approach is to design records so that each one has a single natural writer:

  • Clock events as separate records. Clock-in and clock-out are appended as events with device timestamps, rather than edits to a shared shift document that a coordinator might also be changing.
  • Case notes owned by their author. A note belongs to the worker who wrote it; corrections are new versions, not overwrites.
  • Coordinator changes as separate fields or records. If a coordinator changes a shift’s time while the worker is offline, the worker’s clock events are still preserved and the discrepancy shows up for review.
  • Clear sync status in the UI. Workers see whether an entry is saved on the phone only or confirmed by the server, so they do not re-enter it.

For example, in an illustrative scenario, a worker clocks out offline at 4:58 pm while a coordinator, at the same moment, extends the shift to 5:30 pm. With separate event records, both facts survive and the timesheet approval screen flags the mismatch, instead of one silently overwriting the other.

Lesson: offline support is a data-model decision. Choose append-only events for anything a worker records in the field.

From approved shifts to invoices and claims

The financial end of a care platform is where errors become expensive. The case page describes timesheet approval, automated invoicing from approved shifts and audit checks before claiming, with accounting and NDIS portal integrations. We treat that as a pipeline with clear gates.

  1. Shift delivered. Clock events, case notes and any variations are captured from the mobile app.
  2. Timesheet reviewed. Coordinators or finance staff approve timesheets in the web app. Discrepancies, such as a missing clock-out or a shift outside the rostered window, are surfaced for decision.
  3. Audit checks. Before anything is claimed, automated checks look for common problems: is the client’s funding information complete, is the worker’s required qualification current, does the delivered service match what was planned, is anything a duplicate?
  4. Invoice generation. Server-side services create invoices only from approved, checked shifts and send them to accounting through the Xero API.
  5. Claim and reconcile. Claims flow to the funding portal, and payment status comes back into the platform so finance can see what is outstanding.

Design principles for this stage

  • Idempotency. Every invoice and claim carries a stable reference so a retry after a network failure does not create duplicates.
  • Immutability after approval. Once a timesheet is approved and invoiced, changes happen through adjustments, not edits, so the audit trail stays intact.
  • External rules as configuration. Funding rules and price limits change over time, so they belong in maintained configuration rather than hard-coded logic.
  • Human decision on exceptions. Automation prepares; people decide anything ambiguous.

Lesson: do not let any client app create financial records directly. Invoices and claims should come from one server-side path with checks you can explain to an auditor.

Delivery approach, risks and running costs

How we sequence a build like this

Our general approach on two-sided operational platforms is to deliver a thin vertical slice first: one role, one shift, one client, from roster to clock-in to approved timesheet. That proves the data model, rules and sync before the team builds the long tail of screens. Integrations with accounting and claiming come after the internal flow is trusted, because they magnify any upstream errors.

Risks to plan for

RiskWhy it mattersMitigation
Overly broad security rulesAdditive rules can expose sensitive dataDesign data paths around access; test rules in emulators; review every rule change
Offline conflictsLast-write-wins can silently lose field dataAppend-only events for worker input; visible sync status
Reporting limitsDocument databases are not built for ad hoc cross-entity queriesPre-computed summaries and an export to a reporting store
Changing funding rulesHard-coded rules produce rejected claimsRules as configuration with an owner and review date
Usage-based backend costsInefficient listeners and reads raise billsScope listeners tightly, paginate, monitor usage from the start
Mobile release lagWorkers on old app versionsMinimum version checks and backward-compatible data changes

Running costs to budget for

Running costs for this kind of stack include Firebase and Google Cloud usage, AWS storage and delivery, payment processing fees, Apple and Google developer accounts, and ongoing maintenance for framework and operating system updates. Managed services reduce operations work, but usage-based pricing means costs scale with how efficiently the apps read and write data, so monitoring belongs in the first release.

Checklist for teams planning a similar platform

  • Split the product by user and environment before choosing frameworks.
  • Write the role and permission matrix before designing collections.
  • Keep roles in token claims and assignments in data; set claims only on the server.
  • Use append-only records for anything captured in the field.
  • Show sync status clearly in the mobile app.
  • Generate invoices and claims only server-side, from approved records, with idempotent references.
  • Plan reporting and data export early.
  • Monitor backend usage and costs from the first release.
  • Test security rules and offline behaviour as part of every release.

Frequently asked questions

Is Firebase suitable for sensitive care data?

It can be, provided access control is designed carefully. Firebase Security Rules are enforced outside the client, and roles can be carried in server-set custom claims. You still need to review data location, contracts and your own privacy obligations, and design data paths so broad rules cannot expose sensitive fields.

Why use two different front-end frameworks instead of one?

Because the users are very different. Coordinators need a dense desktop application for rostering and approvals, which suits Angular. Support workers need a simple, offline-tolerant phone app on both Android and iOS, which suits Flutter. Both use the same backend, so data stays consistent.

How does the mobile app work without signal?

On Firebase, Cloud Firestore offline persistence lets an app read and write cached data and sync when the connection returns. Because sync is last-write-wins per document, we design field data such as clock events and notes as separate records owned by one person, so nothing is silently overwritten.

Can this approach be reused for fitness or wellness products?

Yes. Scheduling, client records, progress notes, staff-to-client communication and offline mobile use appear in coaching and wellness platforms too. The role model, sync design and server-side billing pipeline translate directly.

When would you not recommend this stack?

When the product depends on heavy ad hoc reporting across many entities, very complex transactions, or a requirement to host entirely in an environment you control. In those cases a conventional API backend with a relational database, or a hybrid, is often a better fit.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. PoliteTech: Care Management Platform case study — accessed 10 November 2026. Client context, feature list and technology stack (Angular, Angular Material, NgRx, Flutter, Firebase, Google App Engine, AWS S3 and CloudFront, Stripe, Xero API)
  2. Firebase: Security Rules overview — accessed 10 November 2026. Rules enforced outside the client, OR-combined rules, emulator testing before deployment
  3. Firebase: Control access with custom claims — accessed 10 November 2026. Custom claims for role-based access, set by the Admin SDK on the server, 1,000-byte limit, propagation on token refresh
  4. Firebase: Access data offline in Cloud Firestore — accessed 10 November 2026. Offline persistence defaults by platform, 100 MB cache threshold, sync on reconnect and last-write-wins behaviour

Planning a rostering or client management platform for care or wellness?

We can review your roles, offline needs and billing flow and suggest an architecture that fits your team and budget.