All work
Case study2024Platform migration

Deeplawn

2,000 businesses moved from v1 to v2 in about three months, with no data loss.

0records lost moving 2,000 businesses to v2
Year2024
RoleDrove the v1 to v2 migration
TypePlatform migration
TeamSamsoft

Overview

Deeplawn is a lawn-care quoting platform used by 2,000 businesses. I drove its move from v1 to v2.

The problem

Deeplawn's v1 needed to become a modern, scalable v2 without disrupting the live product.

The platform serves 60–70k requests a day, so the move had to happen with no data loss and no downtime for the businesses that depend on it.

My role

  • Drove the v1 to v2 migration over about three months.
  • Moved 2,000 active businesses and millions of records with zero data loss.
  • Worked on v2 with Next.js 14 and NestJS, in a microservices architecture and an Nx monorepo.

Approach

  • Migrate tenant by tenant through dedicated migration endpoints, not one big-bang cut-over. The migration took longer, but nothing was lost and live businesses kept working.
  • Slow property measurements go to a fleet of socket-connected workers through a separate dispatcher. One more service to run, but heavy imagery processing never blocks the API behind customers' quote widgets.
  • BullMQ and Redis for bulk region jobs, alongside payments and lead-sync integrations.

Architecture

Quote widgetembeddable ReactCore APINestJS · public APIDispatcherNestJS · Socket.IOMeasurement workerssocket-connected fleetBullMQ · Redisbulk region jobsMongoDBtenants · ordersv1 → v2 migrationper-tenant data moves

Tenants moved one at a time through dedicated migration endpoints, while the API kept serving quotes.

Deeplawn v2 architecture: an embeddable quote widget and a Next.js dashboard call a NestJS core API; a Socket.IO dispatcher assigns property measurements to a fleet of connected workers; MongoDB, BullMQ and Redis for bulk jobs; payments and lead-sync integrations; a migration module moves v1 tenant data into the v2 schema.
High-level view of v2. Data providers and internal endpoints are left out.

Results

All 2,000 businesses moved to v2 in about three months with no data loss, while the platform kept serving 60–70k requests a day.

2,000businesses migrated
0records lost
~3 mofrom v1 to v2

Visit the live site

Stack

Next.js 14NestJSNXMicroservices
Next case study
Qoloring
Order personalised colouring books and sketchbooks online.

Building something similar?

Tell me about it. I reply within 24 hours with questions, a rough approach, and whether I'm the right fit.