MGKFitness · case studyLast checked 27 October 2026
Case study · MGKFitness

Two fitness apps, Run and Lift,on one account, with a coach that can't make up a number.

RunLive · actively updated
LiftLive · actively updated
Where
Run and Lift on iPhone and Android. A website at mgkfitness.mgkcodes.com. Both apps and their backend in one public repo.
Role
Solo. Product, design, code, and running it.
Started
25 July 2026 · live since 5 October 2026
The MGKFitness website, introducing Run and Lift on one account
mgkfitness.mgkcodes.com: two apps, one account.

01What I made

Run records your runs with GPS and builds a training plan for your race, then adjusts it when a week falls apart. Lift logs your workouts, sets and personal bests, with progress photos and a plan of its own. Each app works without the other, on the same account. Tracking is free; the coach is the subscription, and stopping it costs you the coach, never your training. Every plan the coach writes passes plain-code checks before you see it.

02Why

I signed up for the Royal Parks Half.The apps to train with seemed overpriced, and I didn't like using them.

One app recorded my runs, at £8.99 a month. Another wrote the training plan, at £15.99. That's about £25 a month, for two apps built around a social feed, with everything turned into a game. It seemed overpriced for what I needed, and I didn't enjoy using either. The gym trackers I'd tried before were no different.

I wanted something cheap, personalised and elegant, so I built Run. It records your runs and writes a plan for your race, with no feed, no followers and no leaderboards. Tracking is free; the coach is the subscription.

I'd shipped an app once before. Liftio, a gym tracker in React Native, was my first App Store app, built for my own training and to learn to ship one myself. Run was Flutter, so I rebuilt Liftio in Flutter too, as Lift: one stack, one account and one backend for both apps.

03What I aimed for

A coach you can trust. The AI writes a plan; plain code checks it before you see it. Lift's coach can't put a weight in a plan at all: it says how hard, and the app works out the kilograms from what you've already lifted.

Your training stays yours. Tracking is free and works offline. Stop paying and you lose the coach, not your history.

Learn the whole path. Take two apps from an idea to both stores myself: the code, and everything Apple and Google expect before an app goes live.

04Timeline

  1. Started a running coach, then called Runio. Seven decision records before the app
  2. Both apps in one repo, on one backend. Liftio's old backend retired on purpose
  3. Lift's coach and plans, with the weight out of the model's reach
  4. Decided Lift replaces Liftio on its own App Store listing
  5. Android became a target
  6. Run's coach asks before your training leaves the phone
  7. Run sent to both stores. The website went live
  8. Run on Google Play. Lift 2.0 sent to both stores
  9. Lift on Google Play
  10. The code went public, open source
  11. Lift on the App Store, replacing Liftio
  12. Apple rejected Run's first version. Fixed and sent back the same day
  13. Run on the App Store
  14. The server refuses Run's coach without your yes

05Challenges and decisions

Each card: what happened, the options, what I chose, how it turned out. Dated, with the decision record it was written in.

One backend for two apps

25 July – 29 Sep 2026 · ADR Run 0008
What happened
Run and Liftio were separate apps that should share a login, and in time a lifting coach should be able to see your runs.
The options
A backend per app, with separate logins. Or one backend, with each app's data kept apart.
What I chose
One Supabase database with a section per app, a shared account, and one coach service for both. Every row is locked to the person it belongs to by row-level security. Moving to it retired Liftio 1.4's backend, on purpose: Lift 2.0 replaced it. When everything moved into one repo, the migration history couldn't rebuild the live database, so I rebuilt it from the database itself and proved the two matched.
What went wrong
Sharing a backend has a catch: whichever app deploys last wins. Both apps once shipped their own delete-account function under the same name, so deleting your Run account erased your Lift data. The fix: the app now says which app is asking. In September a review before release found the same thing again, with production running an older copy of the coach. Now one copy, from one place, serves both apps.
How it turned out
When Lift's rebuild started, its accounts, its data and most of its coach were already built and tested.
“I'm proudest that I took both apps to both stores, and I built and run them myself.”

The coach can't make up a number

25 July – 7 Aug 2026 · ADR Run 0003
What happened
A training plan runs for weeks. When an AI writes one, the mistakes are structural and easy to miss: a taper disappears, two hard days land together. You can't check 80 sessions by eye.
The options
Trust the model. Tell it the rules in the prompt. Or check every plan with code.
What I chose
The model proposes, plain code decides. Every plan, week and change passes a validator before it's saved or shown, and if the AI can't produce a valid plan, the app builds one without it. Lift goes further: its plan format has no field for a weight. The coach says how hard a set should be, and the app turns that into kilograms from what you've actually lifted, rounded to a weight you can load. A test fails if anyone adds a weight field.
How it turned out
Because the checks catch planning mistakes, plans can run on a cheaper model, and the better one goes where the coach talks to you directly.

Rebuild it, keep the listing

6 – 17 Aug 2026 · ADR Lift 0001
What happened
Liftio was a React Native app at version 1.4 on the App Store. Run was already Flutter, and the two now shared a backend.
The options
Keep Liftio in React Native next to a Flutter app. Rebuild it in Flutter as a new app with a tidy name. Or rebuild it and ship it as an update to Liftio's own listing.
What I chose
Rebuild in Flutter, for one language and one design system across both apps, and ship it as version 2.0 on Liftio's listing. That reversed my own earlier plan for a new app ID: a new listing means a new app, with no update for people who have it and a website link pointing at a retired app.
How it turned out
Lift 2.0 reached the App Store on 8 October as an update to Liftio. Google Play had never had Liftio, so Lift went there as a new app. Liftio's website now points to Lift.
“Retiring a live record to avoid an untidy string is paying a real cost for a cosmetic one.”

Android, after all

6 – 18 Aug 2026 · ADR Run 0020 · 0021
What happened
Run was planned for iPhone only, and I build on Windows. An iPhone build needs a Mac, and every screen had been checked on an Android emulator, because that's what my machine runs.
The options
Buy a Mac. Build on GitHub's Mac runners, with signing keys in a repo about to go public. Or a build service.
What I chose
Codemagic builds and signs the iPhone apps from a config file in the repo, so a release never waits on a particular desk. Then, since every layout bug in the running screen had been found on Android, I made Android a real target. Testing it found the worst bug a running app can have: Android quietly stops sending location when the screen locks, while the app still says Recording. Recording now runs as a foreground service.
How it turned out
Both apps reached Google Play first: Run on 5 October, Lift on 6 October.

The coach asks before it sends

29 Sep – 27 Oct 2026 · ADR Run 0036
What happened
To answer, the coach sends your training to an AI provider, and some of it is health data. My privacy policy said consent was the basis, but in Run nothing asked for it: every way into the coach sent first. Apple's rules also ask for permission before data goes to a third-party AI.
What I chose
In Run, one gate in front of every way in: account, then permission, then price, then the coach. The screen names who receives the data, what is sent and what never is, and neither button is picked for you. Withdrawing is one row in Settings. On 27 October the server started refusing Run's coach without that yes too, so a client that skips the question gets nowhere.
How it turned out
Lift's coach was on by default, with a switch to turn it off. Its next release asks the same question, keeps the answer on the account and has the server check it.

A version is submitted once

29 Sep – 19 Oct 2026 · ADR Run 0039 · 0046
What happened
Two numbering systems drifted. The build service's counter and TestFlight's numbers disagreed, so my notes' builds 11, 12 and 13 were really 18, 19 and 20, and one release tag sat on a commit whose build had been cancelled. Nobody could say which build a tester had.
What I chose
One commit goes to both stores with one build number, kept in the code. The tag goes on the exact commit that was built. A version number is submitted once: if a review needs a new build, it ships as the next version. A script drives both stores from the terminal; it prints its plan first and changes nothing without being told to.
How it turned out
Two weeks later Apple rejected Run 1.0.0 for asking people who signed in with Apple for their name. 1.0.1 fixed it and went back the same day, and was approved and on sale on 19 October.

06Where it landed

Run and Lift are live on the App Store and Google Play.

Lift replaced Liftio on its App Store listing as version 2.0 on 8 October 2026, so anyone who had Liftio got it as an update.

Open source since 7 October 2026: both apps, the design system, the database and the coach's server code, in one public repo.

56
decision records
351
test files
27
database migrations
4
Edge Functions

Counted from the MGKFitness repo on 23 November 2026, commit a0c44f8.

07How I build it with AI

Claude writes most of the code. I decide what gets built and I check what comes out:

  1. Decide first. Run's first commit held seven decision records, written before the app existed. Each says why, what else I considered and what would change my mind.
  2. Done means written down. A change to a decision updates its record in the same pull request, and anything a user would notice gets a changelog line.
  3. Test the real database. Schema tests run against the database itself, and a rebuild from the repo must match production exactly.
  4. Look at every screen. A board of every screen and state, captured from the emulator and checked by eye. That became a skill I reuse.
  5. Give Claude the release, not the keys. The store script can release Run and Lift and nothing else, and the store keys live outside the repo. That became my mobile-store-release skill.

08What I learnt

Shipping is its own skill. I built MGKFitness to learn how apps really get made and delivered, not just coded. Apple and Google each have their own idea of a finished app: how it signs you in, what it asks before your data leaves the phone, how a version is numbered and reviewed. Apple rejected Run's first version for asking people who signed in with Apple for their name, and it went back fixed the same day. I've now taken two apps from an idea to both stores, with a website and posts to find their first users, and turned the release into a skill I reuse.

Make the wrong thing impossible. Asking an AI not to invent a weight is a request. A plan format with nowhere to put one is a guarantee.

Shared things need one owner. One backend saved me building Lift's account, data and coach twice. But twice it ran whichever app's copy was deployed last. Give every shared piece one home before the second app arrives.

Write the rule before you need it. The rule for a rejected version was written two weeks before Apple rejected one, so the fix went back the same day.