← A Covorn template · Software development studio website Make it mine

A loyalty app and a demand forecast for 64 supermarkets

Project details
ClientMarketday Stores
IndustryRetail
ServicesData and AI, Mobile apps, Cloud and DevOps
Shipped2025, after 26 weeks
Team8 people, dedicated team
The retail project team gathered around a laptop reviewing the forecast
Fig. 1The retail project team gathered around a laptop reviewing the forecast

The problem

Marketday Stores is a fictional supermarket chain with 64 stores across the south-west and Abuja, selling everything from rice to school uniforms.

Stores ordered by instinct. Popular items ran out on Friday evenings while slow lines sat in warehouses, and managers could not see what sold in other branches.

The chain knew almost nothing about its customers. Paper stamp cards were the only loyalty scheme and their data never reached head office.

  • 1 in 8top items out of stock on Fridays
  • 0customer data at head office
  • 64stores ordering separately

The approach

  1. Step 1

    Clean the sales history first

    Three years of till data from four different till systems, cleaned and joined into one table of sales by store, item and day.

  2. Step 2

    A forecast managers believe

    Forecasts for the top 500 items, with the reasons shown: last year, payday, school terms, festivals and weather.

  3. Step 3

    Loyalty that is worth the bother

    A light app with a digital card, points on every shop and offers based on what each customer actually buys.

  4. Step 4

    Close the loop

    Loyalty data feeds the forecast, and the forecast feeds the suggested order each manager approves every morning.

The architecture

The forecast retrains weekly in the warehouse and writes suggested orders each night. Managers approve or change them, and every change is fed back as a signal.

01 People 02 Ingest 03 Services 04 Data Loyalty app Store manager view Till exports API gateway Points and offers Forecast model Suggested orders Warehouse Main database Loyalty app Storemanager view Till exports API gateway Pointsand offers Forecastmodel Suggestedorders Warehouse Main database 01 People02 Ingest03 Services04 Data
Fig. 2Marketday Stores system architecture
  • Channel or user
  • Third party or existing system
  • Edge and access
  • Service we built
  • Data store

The screens

Drawn as wireframes so the structure reads clearly. The shipped product carries Marketday Stores's own brand.

9:41 Marketday Rewards Points balance 2,480 This week for you 15% off 2 for 1 +48 pts +120 pts
Fig. 3aDigital loyalty card, scanned at the till, with points and this week's offers
Forecast and actual 7d30d90d Inflow ₦62.4m Outflow ₦48.9m InflowOutflowForecast
Fig. 3bStore manager view, comparing forecast with actual sales by item
9:41 Offers for you Updated this morning 1 2 3 4 5
Fig. 3cPersonal offers, ranked by what the shopper buys most

The outcomes

  • 410,000 loyalty members in the first year
  • 37% fewer stock-outs on the top 500 items
  • 14% average forecast error by store and week
  • ₦1.9bn of stock freed from slow lines

Figures measured by the client over the six months after launch. Invented for this demonstration.

Managers argued with the forecast for about a month. Then they started asking why it was not covering more items.

Kemi AdesanyaChief operating officer, Marketday Stores

The team

8 people from Ninefold over 26 weeks, working as a dedicated team. The core of the team is listed here.

How engagement models work

  • Emeka NwankwoHead of data and AI
  • Chidi OkonkwoMobile lead
  • Segun AdebayoCloud and DevOps
  • Zainab GarbaDesign lead
  • Aisha BelloDelivery lead