About Medexa AI

Medexa AI is a medication helper for families: scan a prescription bottle, save what’s on the label, check label-based interaction notes, ask questions about your meds (text or voice), set local reminders, and call the pharmacy in one tap.

Inspiration

Pill bottles pile up. Labels are tiny. Parents and caregivers juggle multiple prescriptions and still call the pharmacy with the same questions. We wanted something that starts from the bottle in your hand, not a blank form, then keeps everything in one place you can actually trust enough to use daily.

What it does

  • Scan a bottle label (or add a med manually)
  • Store directions, pharmacy, nicknames, and related fields per account
  • Flag possible interaction notes using FDA label context (openFDA) + structured matching
  • Ask grounded questions about saved medications, with replies in the language you use
  • Remind locally on-device
  • Call pharmacy via the Phone app

How we built it

  • iOS: SwiftUI app with auth, scan/confirm flow, home list, Ask (text + voice), reminders, and account deletion
  • Backend: FastAPI on Render (HTTPS)
  • Auth + DB: Supabase Auth (JWT) + Postgres, with per-user data and RLS
  • AI: Google Gemini for label OCR/structuring, interaction support, and grounded Ask answers
  • Drug context: RxNorm + openFDA where useful

What we learned

  • Shipping a “health” app is half product, half trust: auth, deletion, disclaimers, and review notes matter as much as the scan demo
  • Supabase JWTs aren’t always simple, we had to verify ES256 via JWKS

Challenges

  1. Auth in production — email confirmation, JWT algorithm mismatch (alg not allowed), then clean sign-in on device
  2. Medical safety — keeping Ask useful without inventing dosing advice
  3. OCR reality — bottle glare, curved labels, incomplete scans → confirm/edit + manual add
  4. App Store path — public HTTPS API, privacy URL, screenshots, review login, encryption/compliance questions

What’s next

Harder OCR and caregiver/family sharing.

Built With

Share this project:

Updates

Submission history