Skip to content

About

No description or website provided.

Topics

Resources

Code of conduct

Stars

8 stars

Watchers

25 watching

Forks

Repository files navigation

NewslettersNx

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.

Quick start

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 dev

If that didn't work, or you need to change configuration or permission levels, see Local development.

Where to go next

📖 Documentation index — the map of everything.

Contributing to these docs

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.

In progress: the Stand migration

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.

Before you merge

⚠️ Changes to 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.

About

No description or website provided.

Topics

Resources

Code of conduct

Stars

8 stars

Watchers

25 watching

Forks

Releases

Packages

Used by

Contributors

Languages