Skip to content
Dessot

Case study

One Flutter codebase for several commerce models

ShineOak runs local shops, chef booking, food menus, AI recipes and a community in one Flutter app with one Strapi backend.

Dessot productLocal commerce and marketplaces

ShineOak, a Dessot product

Share
Illustration: a miniature neighbourhood at dusk. A home chef plates a steaming dish in a lit kitchen window, a corner shop displays fresh produce, and a neighbour receives a meal bag at the door. Glowing amber paths link the three places to a phone in the foreground.Illustration

Context

Where this started.

Context

ShineOak is a multi-sided local commerce app published on Android.

Problem

Each commerce model has its own flows and roles: customers, shop owners, chefs, delivery agents and partners. Building them as separate apps would multiply the maintenance.

Approach

What was done.

Feature modules

  • Local shops: Stores, deals
  • Chef booking: ChefHouz
  • AI recipes: Token wallet
  • Community: Posts, messages

Shared services

  • Payments, wallet
  • Phone sign-in: Twilio Verify
  • Notifications

Backend

  • Strapi v4: 149 content types

Data

  • PostgreSQL

Connections

  • Local shops → Payments, wallet: Orders and payment
  • Chef booking → Payments, wallet: Bookings and payment
  • AI recipes → Payments, wallet: Plans and token balance
  • Community → Phone sign-in: Verified members
  • Local shops → Notifications: Order updates
  • Payments, wallet → Strapi v4: One backend for every model
  • Phone sign-in → Strapi v4: One backend for every model
  • Notifications → Strapi v4: One backend for every model
  • Strapi v4 → PostgreSQL: All content
Many commerce models, one app and one backend: each model is a set of feature modules that share the same services.
  1. 01

    Feature modules

    The app is split into 97 feature modules, with Riverpod for state and auto_route for navigation.

  2. 02

    Three flavours

    Development, staging and production builds come from the same code, each with its own entry point.

  3. 03

    A headless CMS as the backend

    Strapi v4 with 149 content types and 102 components models every commerce type and role.

  4. 04

    Shared services and guarded AI

    Payments, wallet, phone verification, notifications and email are built once and used by every model. AI requests pass token and image balance checks on the server first.

Outcome

The result, in plain terms.

The app is published on Google Play. Merchant and order figures are not published.

feature modules
97
content types
149

For you

What a similar client would get.

  • One Flutter app that can carry several business models and user roles.
  • Payments, sign-in and notifications built once and shared by every part of the product.
  • A headless CMS backend your team can extend without new server code for each type of content.

Facing a similar problem?

Tell us what you are working on. A person from Dessot will reply.