At a glance
- Client: The Range (delivered through AND Digital)
- Role: Lead Frontend Engineer
- Stack: React SPA, Redux Toolkit, RTK Query, Symfony (PHP), Stripe, Barclays
The challenge
The Range wanted a new checkout with a better customer experience, built on a modern frontend stack. The catch was that it had to live alongside the existing legacy system, not replace it overnight, and it had to handle real payments from day one.
What I did
- Architecture that fits the estate. We built the backend in Symfony, a PHP framework compatible with the existing stack, with a React single-page app on the front. That let the new checkout slot in next to the legacy platform without a rewrite of everything around it.
- Payments. Implemented Stripe payments, Stripe express checkout and the Barclays payment integration.
- API-driven state. Used Redux Toolkit and RTK Query so the frontend state stays in sync with backend data. The API is the source of truth, and the UI reacts to it rather than keeping its own copy that can drift.
Outcome
- A new checkout journey with a better user experience, running alongside the legacy system
- Card payments, express checkout and a second payment provider all live in the new flow
- A predictable state layer that made payment edge cases easier to reason about and test
What I'd take forward
Greenfield inside a brownfield estate is mostly about seams. Picking a backend that matches what's already there, and keeping frontend state driven by the API, made it possible to modernise the most valuable journey without taking on the whole platform. I wrote up more on that state approach in 5 reasons why data handling is easier with Redux Toolkit & RTK Query.