Skip to content
← All work

Macro Intelligence Platform

The Macro Intelligence Platform delivers daily macroeconomic nowcasts to institutional analysts: GDP, inflation, trade, ports, pollution, urban traffic and more, built from alternative data. I led its complete rebuild, from the design system to the architecture.

defineModule()Module engineGDP3Consumption2Inflation2Employment1Commodities2Industrial activity7Investment2Trade7Country risk2Macro regimes2Urban activity2
defineModule()Module engine
GDP
Consumption
Inflation
Employment
Commodities
Industrial activity
Investment
Trade
Country risk
Macro regimes
Urban activity

In numbers

32
data modules
11
categories
8
view types
−83%
module code files compared with the old platform
611
automated tests
2,299
translation keys per language

The challenge

The previous platform had grown one copied folder per data module: 33 of them, around 640 files and 80,000 lines of near-identical code. Every new module meant another copy, and every design change had to be made 33 times.

The approach

I replaced the copies with one config-driven engine. Each module is now a single defineModule() configuration describing its data, filters, views and exports. One route renders any module, and the same config feeds the menu, dashboards and exports. Around it I built a token-driven design system with a real dark mode and a phone layout of its own.

The platform is private, so the visuals here are redrawn diagrams, not screenshots. They contain no client data.

defineModule() configRegistryModule engineOne routeViewsExportsMenuDashboards
One configuration feeds every surface
FiltersCountriesView tabsExport
Anatomy of a module page
files
Before: 33 copied folders639
After: one engine109
lines
Before: 33 copied folders80,552
After: one engine21,090
Module code, before and after
The sign-in horizon

Highlights

Where it stands

Next project
Phronesis