All projects
LiveBusiness system

DaelOffice

An internet network operations platform: stock, sales, finance and staff for businesses that sell internet access

DaelOffice (daeloffice.com) is a management platform for internet network businesses: networks, shops and distributors, card bundles and stock, double-entry finance and cash boxes, commissions, monthly closing and 19 reports, on an ASP.NET Core backend with a Flutter Android app that works offline.

Visit the live sitedaeloffice.com
My role
Sole engineer: requirements, architecture, backend, mobile app and deployment
Timeline
Jul – Nov 2026
Platforms
Android, REST API, Cloud, Web
daeloffice.com
daeloffice.com: cash boxes, card stock and commissions, the platform’s main features
Module menu for networks, users, roles, shops, distributors, cash boxes, warehouses, card types and reports
Lines of code
~166k
Automated tests
~1,325
API actions
340
Permission codes
70

The problem

A business that resells internet access moves value through many hands: cards go from stock to distributors to shops, cash comes back, commissions go out, and lines are recharged every day. Tracked in chats and notebooks, nobody knows who owes what until the month is over.

  • Card stock moved between distributors and shops without a reliable record.
  • Commissions and debts were worked out by hand at month end.
  • Cash boxes and expenses were not tied to a ledger.
  • Every employee could see every number.
  • Staff work in places with poor signal, so an app that needs a connection for every action stalls the day.

The solution

A backend that owns the money and the stock, and a mobile app built for the people moving it.

  • Networks, shops, distributors, card types and bundles in one model.
  • Double-entry finance with cash boxes, transfers and monthly closing.
  • Commission rules, including automatic distributor supply commission, and internet-line recharges tracked per agent.
  • 19 report types for owners and managers.
  • 70 permission codes across 4 roles, and approval of each device before it can sign in.
  • Real-time messaging and notifications between staff.
  • Every operation works offline and uploads when the connection returns.

Architecture

A Clean Architecture .NET solution with a feature-first Flutter app on top.

ASP.NET Core 10 API

Backend

  • Domain
  • Application (MediatR)
  • Infrastructure (EF Core)
  • 29 controllers, 340 actions
  • API and worker

Real time

  • 2 SignalR hubs: messaging and notifications
  • FCM push

Data

  • PostgreSQL
  • 56 entity sets
  • 44 EF migrations
  • Outbox

App

  • Flutter + Riverpod
  • go_router
  • Encrypted local database
  • Offline mirror and outbox

Operations

  • Docker Compose
  • nginx
  • Deploy, rollback and backup scripts

Engineering decisions

The system handles other people’s money every day, so the design favours explicit rules and safe retries over clever shortcuts.

Clean Architecture, with tests that enforce it
Six projects with fixed dependency rules, and five test projects: unit, architecture, integration, end-to-end and performance.
Commands, not ad-hoc updates
MediatR handlers and FluentValidation keep every change explicit and validated in one place.
Every operation works offline
Writes go through an outbox on the device and upload when the connection returns. The server replays them idempotently, and tests cover that replay, so a retry after a dropped response never posts twice. A local mirror of the data keeps lists and reports readable offline.
Side effects that happen once
An outbox and idempotency keys make retries safe for financial operations and notifications.
Encrypted on the device
The app stores data in a drift database encrypted with SQLCipher, with a small library written for encrypting data at rest.
A hardened client
Certificate pinning to the Let’s Encrypt CAs, with the pin updated automatically in the release pipeline; a root and integrity gate at start-up; screenshot blocking on sensitive screens.
Real time where it matters
SignalR pushes messages and updates to connected staff.
Tested against a real database
Testcontainers run the integration tests on real PostgreSQL, including concurrency tests, failure-injection tests and backup and restore drills.
Operable by one person
Scripts for server setup, deployment rehearsal, HTTPS, deploy, rollback, signed and encrypted backups, backup verification, restore and secret rotation.
User flows tested on a device
23 Maestro end-to-end flows and Patrol tests, alongside 623 Flutter tests and 702 xUnit tests (472 unit, 198 integration, 16 architecture, 11 end-to-end, 5 performance).

Backend

  • .NET 10
  • ASP.NET Core
  • EF Core 10 + Npgsql
  • MediatR
  • FluentValidation
  • SignalR
  • Serilog

Data

  • PostgreSQL

Mobile

  • Flutter
  • Riverpod 3
  • go_router
  • dio
  • freezed
  • drift + SQLCipher
  • SignalR client
  • FCM

Operations

  • Docker Compose
  • nginx
  • GitHub Actions

Quality

  • xUnit
  • Testcontainers
  • Flutter tests
  • Maestro
  • Patrol

Where it stands

Live at daeloffice.com, where businesses download the Android app, and in daily production use. Since October it has gained:

  • An access-points register with create, edit and delete, Excel import, and access scoped to the technician.
  • Excel import of master data: shops, internet lines, packages and card types.
  • Automatic distributor supply commission, editing of finance operations, line-closing notices and an archive.
  • Stock, cash and commissions live in one ledger instead of chats and notebooks.
  • Month-end closing is a system step, not a weekend of reconciliation.
  • Access is scoped by role and by approved device.
  • Releases ship through separate development, staging and production builds.

Need something like this?

Tell me about the operation you want to organise and I will map it into a clear system before writing a line of code.

Let's talk