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.
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.