Mehedi Hasan Shuvo.
← All case studies
Maintainability · Data access · Testing
Incremental modernization

Modernizing a live sales operations platform without stopping delivery

I’m helping evolve a staff-facing platform with a large live database while feature requests continue: reducing dependence on Supabase PostgREST procedures, introducing Dapper and adding automated tests.

Incremental migration · target direction
01Live workflowsStaff keep working02Dapper accessFlexible reads / writes03App layerRules move to code04Consistent modelEvolving graduallyexisting database and feature delivery continue during migration

Target direction, not a claim that the migration is complete.

Context

The platform supports staff roles and access levels across lead and account tracking, call follow-ups, quote creation and comparison, and sales processing through completion. Its index-based data model and Supabase PostgREST procedures made changes difficult to maintain and new features costly to build.

My role

I introduced Dapper for more flexible application-side data access and brought unit and bUnit testing into the application. The transition away from database procedures and toward application-layer business rules is gradual and ongoing, with budget savings as a goal rather than a published figure.

Key decisions

  • Migrate incrementally because this is a live business system with a large existing database; taking it offline for a replacement is not viable.
  • Move business rules toward the application layer so they can be changed and tested with the product code.
  • Continue delivering requested features while the data model and persistence approach evolve.

Outcome

The work creates a more flexible path for future features and reduces maintainability friction. The migration is in progress; no unverified cost-savings figure is claimed.

← More case studies

Let’s talk