The tooling behind Guardian editorial newsletters: a React management UI, an Express API, and the shared libraries that define, validate and store newsletter data.
It's a pnpm workspace monorepo.
You need Node, pnpm and dev-nginx. You do not need AWS credentials — the default setup uses in-memory storage and a fake user profile.
From the repo root:
pnpm install
./scripts/setup.sh
pnpm run devIf that didn't work, or you need to change configuration or permission levels, see Local development.
📖 Documentation index — the map of everything.
Update the relevant doc in the same PR as the change it describes. Prefer linking to source over duplicating it, and if something is mid-migration, say so and link the tracking issue.
The UI is mid-migration from MUI to
@guardian/stand. Both UIs live in the
codebase: the Stand version is on by default and opt-out per browser via the
switch-legacy feature switch, e.g.
https://newsletters-tool.local.dev-gutools.co.uk/drafts?switch-legacy=true
If you're touching the UI, read Stand migration
first — it explains which screens have moved, how the two versions coexist, and
which of the parallel Stand* components to change.
libs/newsletters-data-client
can affect newsletter data used in PROD by other Guardian applications. Read
that package's README first.
Merging to main deploys to PROD.