All selected work

Offline-first · Retail operations / Android + web

The shop should keep working when the network doesn’t.

Inventory, sales and purchases for small retailers—even when the connection disappears.

My role

Founder · inventory workflows, local persistence, sync and delivery

Period

2021 — ongoing

Stack
Angular 22Ionic 8CapacitorSupabase
Visit StokView Android app
Actual Stok public example-shop screen with sales and inventory interface
Actual public product capture · October 2026. Public screens may include clearly presented product examples.
01Local shop records
02Offline sales & purchases
03Account synchronization
04Reports & BI
01

The problem

Small retailers need simple records of what they bought, sold and still have. A useful tool must work at the counter without making an account or reliable internet a prerequisite for every action.

02

What I owned

Stock, purchase and sales workflows, local persistence, Android delivery, account synchronization and public demos. Companion BI work adds business dashboards and forecasting context.

03

The difficult constraint

Offline device data, anonymous backup and authenticated cross-device synchronization solve different problems. Treating them as one system risks confusing both recovery and ownership.

04

The architecture

Angular/Ionic runs on Android through Capacitor and in the browser. Local storage keeps records available offline. Signed-in Supabase account sync is distinct from pseudonymous installation backup. Next.js/Recharts powers a separate business dashboard.

05

A product decision

Give a shop owner an interactive example shop before sign-up. The demo service tracks seeded records separately from user-created records, so experimentation stays local and the owner’s own work can carry into an account.

06

The result

Stok is published on Android and has a public web surface. Current manifests show Angular 22, TypeScript 6 and Ionic 8; the older README’s Angular 13 description is superseded by the real package manifest.

07

What this taught me

Offline-first design is about ownership, synchronization and recovery as much as cached screens. A demo is more useful when it lets someone do the work and retain the records they entered.

Evidence & scope +
Discuss a similar problemNext: Tasko