Home

Al-Wesam

Cloud accounting and point of sale for many businesses and branches, on the web and five platforms, online or offline.

Type
Multi-business SaaS platform
Platforms
Web, Android, iOS, Windows, Linux, macOS
Our role
Analysis, design, server, web, app, infrastructure
Stack
Django, Next.js, Flutter, PostgreSQL, Centrifugo

The challenge

Shops and branches don’t stop when the internet drops. The brief was a system that records sales and entries in any condition, then brings them together into correct books with nothing duplicated or lost, a hard wall between each business’s data, and Arabic reports people can trust.

Point of sale, branch 2Offline
  1. Sales invoice 104286.50Waiting to send
  2. Customer payment300.00Waiting to send
  3. Sales return-12.00Waiting to send
  4. Stock adjustmentWaiting to send

4 operations recorded on the device

This is how Al-Wesam works: the device records offline, then sends what it recorded when the network returns.

What we built

The device works on its own

Every screen in the app reads from an encrypted local database for that business. Sales, payments and returns are recorded in a queue on the device, sent to the server when the connection returns, and then the device pulls what changed.

A sync contract tested before every release

A test in the app records a full working day using its real repositories, then every operation is replayed against the real Django server. Anything the server refuses is treated as a real bug to fix, never an expectation to adjust. The web dashboard shows the first-attempt acceptance rate per day and type, against a 99% target.

Every business behind its own wall

Each request acts on exactly one business. Linked permissions are granted per role and branch, and sensitive fields like cost stay hidden from people without access, exports included. Devices, sessions and subscriptions are managed per business.

Notifications that reach the right people

Real-time in-app alerts and mobile push, sent by role and branch, never twice for the same event. Daily states arrive as one digest at the business’s local time, not a flood of messages.

One export for every list and report

The web or app sends only the table’s shape; the server re-runs the same read with the person’s permissions and produces an Arabic PDF or an Excel file. A new list joins by registration, with no new code.

Updates that never lose work

A release register per platform with deadlines for required updates. A copy past its deadline can still send its pending operations first, so a day of sales is never lost to an update.

Architecture

  1. ServerDjango REST Framework in clear layers, PostgreSQL, services and guard tests
  2. WebNext.js, Arabic first, a backend-for-frontend with secure cookies, TanStack Query
  3. AppFlutter, Drift and Riverpod, with an encrypted local database per business
  4. Real timeCentrifugo for live updates, plus mobile push notifications

What we bring from it to your project

Al-Wesam gave us a proven way of working: write the contract before the code, let tests guard every rule, and design for the bad days, not the demo. We bring that same method to every system we build.

Start a project