~/bpabatao
← back to index

Biopharma Strategy Platform

An ISO 27001-certified strategy SaaS for enterprise pharma: a schema-driven clone engine and dependency-aware archive/restore.

Role
Originating engineer on two subsystems
Period
2024 - present
Ownership
1 of 3 core engineers
Stack
React · TypeScript · Node · GraphQL · Prisma · PostgreSQL · AWS
finalized strategythe source of truthclone enginewalks prisma dmmfnew strategyschema-complete copydependency registrywarns before archive or deletegraphql contract + resolverarchive cascadesrestore returnsbelief shiftper-group finalizenarrativeper-group finalizelandscapeper-group finalize
A DMMF-driven clone engine copies a finalized strategy, and a dependency registry cascades archive and restore across dependent entities

Problem

A pharma brand strategy is a graph of artifacts that teams finalize, reuse and revise for years. Two operations on it are easy to get wrong: starting a new strategy from a finished one, and removing something other artifacts depend on.

A hand-written copy drifts as soon as the schema changes. Deleting without knowing the dependents loses work that a regulated client cannot lose.

Constraints

The platform is ISO 27001 certified and in private beta with enterprise pharma clients, so destructive actions have to be reversible and admin and user actions have to be attributable. Three core engineers cover the whole product, so a subsystem cannot need a specialist to operate it.

Decisions

Architecture

Clone engine: the schema's metadata drives the copy, so a new field or relation is cloned without anyone adding code for it.

Dependency subsystem: a registry describes which entities depend on which, exposed through its own GraphQL contract and resolver and rendered by a registry-driven modal. Finalized entities with dependents warn before an archive or a delete.

Elsewhere in the product I contributed to real-time collaboration over GraphQL subscriptions, OpenAI-backed generation features, and platform security work on ownership checks and JWT sessions.

Outcome

view resume ↗ (opens in new tab)email me