Skip to content

Case study 04 · Marketplace and revenue

Moving a US marketplace from PHP to Node with no downtime

We took over a marketplace that kept crashing on shared hosting and rebuilt it on AWS in four phases over four years, with me as Technical Lead.

EngagementTechnical Lead · Jul 2022 – 2026 · direct client · team of 12 · I owned architecture, roadmap, hiring and the client relationshipPublished

zero downtime

Four phases in four years, zero downtime: no outage was recorded in the logs or reported

60 → 90+

Lighthouse performance 60 → 90+ and SEO 30 → 90+ after the public site moved to Next.js

90% faster

Twenty slowest queries

The story in 5 steps

Stack

  • Node.js
  • React
  • Next.js
  • Expo
  • MySQL
  • OpenSearch
  • InfluxDB
  • Redis
  • AWS

01 · Context

The product is a US marketplace that connects truck drivers and fleets with repair, towing and tire services.

The work ran in four phases: two months of stabilization, two years of rebuilding, a shared design system, and then AI built into how the team works.
The part of this work I am proudest of is the analytics, even more than the migration.

02 · Could not change

The marketplace was live and was the client's only source of revenue.

The mobile apps shaped the whole rebuild, because we controlled the web but not the phones.

03 · What we did

Phase 1: stabilize (2 months). We moved the existing PHP application onto AWS without rewriting it.

Rewriting straight away was tempting, but we stabilized what was earning money first and spent the next two years on the rewrite.
Phase 2: rebuild (2 years)The backend moved from PHP to Node and later to a typed framework, the dashboards to React, the public site to Next.js, the mobile apps to Expo, and the hosting to containers with autoscaling.
Data moved through a script that remapped the schema, and triggers kept the old and new databases synchronized in both directions for over a year.

04 · Result

Four phases in four years, zero downtime: no outage was recorded in the logs or reported

Lighthouse performance 60 → 90+ and SEO 30 → 90+ after the public site moved to Next.js
Twenty slowest queries 90% faster
Analytics at 2M+ writes/day with live reads, and an annual report under one second at 900+ listings

05 · Differently

We let the system spread across nineteen repositories with no shared package.

Related services

The services that draw on this work.

Related writing

Posts that came out of this project.

Case study 04

Working on a similar problem? We reply within one business day.

The first call takes 30 minutes, and you’re under no obligation.

Tell us about your projectcontact@microtech.consulting