← Work
Watercolour: a rib steak on an oak board, with a violet-rimmed stopwatch and a shoelace
  • Own product
  • SaaS
  • Fitness

Liga Chuletón

Sports challenges that award points for real effort, not just distance. Halfway through, the whole integration had to move to another API without users noticing.

API pivot with no downtime
type
Own product
area
SaaS · Fitness
stack
Rails 7 · Turbo · OAuth 2.0 · PostgreSQL

An own product to validate an idea for fair fitness gamification: award points by actual effort, not just distance. The interesting technical challenge showed up halfway through.

The problem

The first version relied on a third-party API. When its terms and limits stopped fitting the product, the whole integration had to move to another provider without breaking the experience for users who were already in.

The solution

The integration layer was rewritten behind a common interface, so the rest of the app didn’t know which provider the data came from. The OAuth 2.0 flow — with its refresh-token traps — was isolated and tested.

Result

The pivot completed with no perceptible downtime and no loss of active users, and left the door open to add more providers at low marginal cost.

Switch provider live

interactive demo · sample data

Something similar for your business?

Get in touch