IT/EN
← All notes

Pl. VIIAI· 2 min read

AI helped me write an app. Here’s what it didn’t do.

An honest review after building GymLogPWA with an AI always open next to my editor. Where it really speeds things up, and where the responsibility stays with me.

I wrote GymLogPWA, my final-year school project, with an AI always open next to my editor. Not to have it write the app for me, but to get unstuck faster whenever I got stuck. Here is an honest review.

Where it really helped

  • Animations that wouldn’t start. Elements animated with GSAP stayed at zero opacity. The culprit was React StrictMode mounting components twice; the fix was using gsap.fromTo() with explicit starting states.
  • Row Level Security. I didn’t know how it worked in Supabase. It explained auth.uid() and how to filter rows per user, with policies like this one:
create policy "everyone sees their own workouts"
on workouts for select
using (auth.uid() = user_id);
  • OAuth 2.0 with PKCE. The auth flow confused me; code_verifier and code_challenge only clicked once I asked what each step actually protects against.
  • All the fine-tuning: TypeScript generics for React Query, responsive layouts with Tailwind, configuring the service worker so the app works offline.

What I learned to do

  • Precise questions. File, line, error, what I already tried. “It doesn’t work” is not a question.
  • Verify everything. AI gets things wrong, and it does so confidently. Every suggestion gets tested before it goes in.
  • One problem at a time. Not “how do I build the app”, but auth, then database, then interface. Smaller pieces, better answers.
  • Document as I go. Comments and READMEs written during development, to remember why I made a decision, not just what I did.

What AI can’t do

  • Decide. Picking Supabase over Firebase needed context: time available, school constraints, project goals.
  • Know the real context. The app is used at the gym, with sweaty hands and the phone resting on a bench. Only by testing it there did I find out which buttons were too small.
  • Have taste. Layout, colours, what to leave out: those are choices, and they stay mine.
  • Take responsibility. I sign the final code. AI is a tool, not an excuse.

Why it matters to me as a medical student too

AI-based tools are making their way into clinical settings as well. I think the same rule will apply: they speed things up, but they have to be checked, and the decision stays with whoever uses them. Practising that way now, on a gym app, is a good way to get there prepared.