Skip to content
david.owino
All projects

Case study · Fintech / Personal Finance

Jipange

Private developmentCase study in progress

A Kenya-first personal finance app that turns M-Pesa messages into a clear picture of where your money goes.

Private repository

01Overview

Jipange (Swahili for "get organised") is a personal finance app designed around how money actually moves in Kenya. Most everyday transactions happen through M-Pesa, so the app starts from M-Pesa messages rather than bank feeds.

02The problem

Most budgeting apps assume card payments and bank integrations. In Kenya, much everyday spending happens through mobile money, and the record of it is scattered across SMS confirmations. Tracking it by hand is tedious, so most people never get a clear view of their spending.

03The solution

Read the transaction messages people already receive, turn them into structured expenses, and build budgeting, goals and insights on that data. Data is stored on the device first, so the app is fast and works offline, and it syncs to Supabase for accounts and backup.

04My role

Solo project. I wrote the product and technical plan, designed the architecture and built the prototype.

05Technical architecture

The prototype is a Flutter app organised in four layers: presentation (pages, widgets and Riverpod providers), domain (models and business logic), data (repositories, adapters and parsers) and core (theme, utilities and shared widgets). Expenses go through a repository interface with three implementations: local (Isar), remote (Supabase) and a mock for the web build. On Android, a native Kotlin component reads M-Pesa SMS messages and passes them to Flutter through a platform channel.

Jipange's prototype architecture: a layered Flutter app that stores data on the device first and syncs to Supabase.
  1. Presentation

    • Flutter pages & widgets (Built)

      Auth, onboarding, expenses, dashboard

    • Riverpod + go_router (Built)

      State and navigation

    reads and writes through Riverpod providers
  2. Domain & data

    • Expense repository (Built)

      Local, Supabase and mock implementations

    • Sync service (Built)

      Uploads unsynced, downloads backups, skips duplicates

    • M-Pesa parser (In progress)

      Transaction code and amount

    • AI insights (Planned)

      Deferred until the data layer is solid

    local first · sync on startup
  3. Storage & platform

    • Isar (Built)

      On-device database

    • Supabase (Built)

      Auth and Postgres with row-level security

    • Android SMS reader (In progress)

      Native Kotlin via a platform channel

  • Built
  • In progress
  • Planned

06Technology choices

Flutter
One codebase for Android, where SMS parsing is possible, and the web, which is the fastest place to develop and test.
Isar
A fast on-device database, so the app works offline and keeps data local by default.
Supabase
Authentication and Postgres from one service, without running a custom backend.
Kotlin
Reading SMS needs native Android access, which Flutter cannot do on its own.

07Implementation decisions

  • Local-first, then sync

    Expenses are saved on the device first. On startup the sync service uploads anything unsynced, then downloads cloud records as a backup. The app stays usable on a poor connection.

  • Duplicate-safe sync

    When downloading, a cloud record is skipped if the device already has it, matched by ID or by M-Pesa transaction code, so the same payment is never counted twice.

  • Swappable data sources

    The app depends on one expense repository interface. Local, Supabase and mock implementations can be swapped, which is how the web build runs without real SMS access.

  • Per-user access in the database

    The Supabase setup defines row-level security policies, so each user can only read, add, change or delete their own expenses, enforced by the database, not just the app.

  • AI deferred until the data is right

    The project plan explicitly leaves AI features out of the first version. Insights are only as good as the transaction data underneath them, so ingestion and storage come first.

08Challenges encountered

M-Pesa confirmations arrive as free text. The current parser matches the transaction code and amount; other details in the message, such as who was paid, are not extracted yet, which is why parsing is still in progress. Reading SMS is only possible on Android, so the web build relies on a simulator and mock data, and real messages can only be tested on a device.

09Current status

Private development. The Flutter prototype has working authentication, onboarding, expense tracking, a dashboard and sync. M-Pesa parsing on Android is in progress. Statement import, budgets, goals and AI insights are planned. It has not been released.

Built · 7

  • Sign-up, login and password reset
  • Onboarding with income selection
  • Manual expense entry, list and filters
  • Spending dashboard with category breakdown
  • Offline-first storage on the device
  • Sync to Supabase that skips duplicates
  • M-Pesa message simulator for web testing

In progress · 1

  • M-Pesa SMS parsing on Android

Planned · 5

  • Import from pasted statements or messages
  • Budgets
  • Financial goals
  • AI-assisted financial insights
  • Hybrid AI architecture

Milestones

  1. AuthenticationBuilt

  2. OnboardingBuilt

  3. Local expense storageBuilt

  4. Manual expense inputBuilt

  5. DashboardBuilt

  6. Sync to SupabaseBuilt

  7. Web testing supportBuilt

    Mock data and an M-Pesa simulator

  8. M-Pesa auto-expense creationIn progress

    Android only

  9. After the first versionPlanned

    AI features, deeper analytics, notifications