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

- Lines of code
- ~166k
- Automated tests
- ~1,325
- API actions
- 340
- Permission codes
- 70
Screens
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
Reports and analytics home with a live summary, network indicators and report shortcuts
Report builder listing user, inventory, cash box, collections, commissions and internet-line reports
Warehouses screen with the owner central card store, supply requests and warehouse search
The eight modules: treasuries and cash boxes, stock and cards, commissions, shops and distributors, internet lines, financial reports, messaging and roles
daeloffice.com on a phone
Problem / Solution
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
Architecture
A Clean Architecture .NET solution with a feature-first Flutter app on top.
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
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).
Tech stack
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
Outcome
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.
Written about it
Articles about this project
- The final payment should be the easy one. How I run client projectsHow I run client projects so the client pays, trusts me and comes back: a written proposal with phases, every phase live on their server, tests they can read, and a handover pack.
- What does custom software cost? The seven things that move the priceWhy two quotes for the same system can differ tenfold: the seven things that set the size, and the price, of custom software, with examples from systems I built.
- Who can delete an invoice? Permissions and audit trails for ownersThe losses that start inside a business, a who-may-do-what table you can copy, money that is reversed and never edited, and what to ask a vendor to show you before you buy.
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