GLP1 Web App — PoC to production in 2 weeks
GLP1 Web App — PoC to production in 2 weeks
Problem
GLP-1 drug cost and outcome analysis lived in spreadsheets: manual, error-prone, and stale by the time it reached sales teams and executives.
Solution
A browser-based calculator where the backend owns every calculation and business logic is declarative JSON, not code.
- Metadata-driven engine: Drugs, pages, tables, variables, and formulas live in JSON. A thin FastAPI engine resolves the variable graph at runtime and a generic React frontend renders whatever the metadata describes. Actuaries change an assumption by editing JSON, with no deploy (ADR-001).
- Auth: CVS PingID SSO via PingFederate OAuth2 + JWT, with role-based page access.
- Data: PostgreSQL through async SQLAlchemy, with an audit log on every parameter save.
- UI: CVS-branded component layer on a design-token system.
- Platform: One Docker image, built once and promoted by re-tag through
dev -> qa -> uat -> main.
Impact
~5,000 hours of manual work eliminated.
The fun challenge
Three integrations (SSO, Postgres, branded UI) delivered end to end in two weeks, on a platform nobody on the team had shipped to. This was our team’s first production deployment on the CVS Application Platform (CAP). The JSON-driven design is what made the timeline possible. New drugs and formulas became data changes, not feature work, so the schedule went to the integrations that carried the risk. [cite: 2]