Skip to content

Case study Business platform · B2G · Morocco In production · 2024–2026

2STMCustom management platform for a public works group in Morocco

One system. Every site. In real time.

We designed and built the private operating system of a Moroccan public works group: tenders, job sites, fleet, materials, payroll and accounting — everything now speaks the same language.

2STM — construction management platform, operations dashboard: volume, tenders, fleet and job sites
Fleet38 machines tracked live
TendersFrom 5 to 3 days

6 modules

Unified in one platform

200+

Internal users and suppliers

20 job sites

Active across 7 cities

24 months

Of ongoing support

Before

Six tools that didn’t talk to each other.

The operations manager spent 3 days a month reconciling data from 6 disconnected tools.

  • Scattered dataBids in one file, the fleet in another, accounting in a third. No overall view of project health.
  • Slow invoicingInvoices pieced together by hand, days of work per project, and delayed cash flow across 20 sites.
  • HR on paperAssignments, CNSS and AMO filings, and payroll managed in separate ledgers.
  • Invisible fleetNo way to tell which machines were running, idle or under repair — leaving gaps in the schedules.
  • Bids at riskBid packages built by hand, with no record of cost assumptions and no history of contracts won.

Our approach

Built around the field teams.

We spent the first phase with 2STM’s operations team: learning how contracts are won, how sites are run and where money leaks. Then we designed the system around real processes, not software habits.

01

Discovery

  • Workflow mapping: bid → award → execution → invoice
  • 14 manual processes identified for automation

02

System design

  • A single data model across all 6 domains
  • Role-based access: field, admin, finance, management
  • Offline mobile views for job sites

03

Phased rollout

  • Phase 1: bids and invoicing — the biggest pain, the fastest return
  • Phase 2: fleet, materials and supplier portal

Six modules, one source of truth

Every module connected.

When a contract is won, fleet assignment and materials purchasing kick in automatically. Pick a module:

2STMCore

Module 01 of 06

Tenders

The full public-contract cycle: bid preparation and costing, award, execution tracking and final settlement. No more Excel files and scattered folders.

Nationwide network

20 job sites, one view.

Management sees live volume, margin, fleet status and cash flow for every project, city by city.

Casablanca 7 sites
Rabat 4 sites
Marrakech 3 sites
Fez 2 sites
Ouarzazate 2 sites
Agadir 1 site
Tanger 1 site

Security & compliance

Built in, not bolted on.

Public contracts demand strict data governance, audits and multi-level access. Security has been part of the data model since day one.

Role-based access

Field, admin, finance and management, with fine-grained permissions for each module.

Full audit trail

Every entry is timestamped and attributed — essential for public-contract audits.

Hosting in Morocco

Can be deployed on a server in Morocco to meet data residency requirements.

Document integrity

Bids, invoices and contracts stored with hash verification and version history.

Tech stack

Chosen to last.

Front-end

Next.jsTailwind CSS · shadcn/uiReact QueryRecharts

Back-end

Django REST FrameworkPostgreSQLCelery + RedisWebSockets

Field mobile

React Native · ExpoOffline with syncPhotos and signaturesPush notifications

Security

JWT + refresh tokensRole-based access controlAudit trail2FA for admins

Infra & DevOps

Docker + NginxServer in MoroccoGitHub ActionsAutomated backups

Reporting

Executive dashboardsThreshold alertsMargins by projectFleet utilization

Results

Operations, transformed.

−40%

Bid preparation time

From 5 to 3 days on average, with fewer errors and traceable costs.

+24%

Fleet availability

Live visibility across 38 machines closed the scheduling gaps.

6 → 1

Tools replaced

Excel files, standalone software and paper ledgers merged into one platform.

Same day

Monthly invoicing

Down from a week of manual work, across every site.

100%

Filings generated

CNSS, AMO and payroll produced straight from the platform.

Live

Management view

Volume, margin, fleet and cash flow for every project, at any time.

Next project

hanout.

One neighborhood. Two ways to shop.

Read the case study