Web apps

How to design a health tracking app? 7 principles from Migrener

Symptom diaries and trackers for sleep, medication or pain share one problem – people stop using them after a few days. Using Migrener, our migraine diary, as an example, here are seven principles for designing a health app that people keep using for months.

The short answer

A health tracking app works when logging an entry takes a second, the interface stays legible when you feel unwell, and the collected data comes back to the user as a calendar, statistics and a report you can take to the doctor. On top of that comes privacy: minimal data, no ads and full control over the account.

That's how we designed Migrener – a migraine diary (in Polish) that runs as a PWA.

1. Design for the worst moment

A health app is often opened when the person feels bad. Migrener's main screen has three buttons: mild, moderate, severe pain. One tap saves the entry with today's date. Every extra required field means entries that never get made.

2. Details – yes, but optional

The medication and its name, the cycle phase, food, triggers, aura symptoms, a note – all valuable for a doctor, but added later or not at all. A good pattern: a quick entry now, details when there's energy.

3. Legibility over effects

Light sensitivity is common during a migraine. So Migrener has a dimmed palette (with a light theme when the system is light), large touch targets and the Atkinson Hyperlegible typeface, designed for legibility. In health apps accessibility isn't an extra – it's a core feature.

4. Give the data back in a useful form

Entries on their own say little. The value appears when the app summarises them:

  • a calendar of the month coloured by the day's strongest symptom,
  • statistics for 3 months, a year or all time: days with symptoms, strength, day of the week, medication, triggers,
  • external data where it helps – in Migrener, the air pressure for the user's town (Open-Meteo),
  • a report for the doctor covering several months, and a CSV export.

This is the moment the user sees the point of keeping a diary and stays for longer.

5. The counting must be flawless

"How many days a month did you take painkillers?" is a question a diagnosis may depend on. We cover the statistics, cycle and report logic with unit tests and base the definitions on accepted criteria (for migraine, the ICHD-3 classification). Being off by one day at the edge of a month is a serious bug in a health app, not a cosmetic one.

6. Privacy from day one

Under GDPR, health data is a special category of personal data. In practice this means:

  • minimal data – collect only what serves the user,
  • no ads and no analytics tools in the app – the team sees usage statistics, never the content of entries,
  • separate, optional consent to anonymised analyses,
  • export and account deletion with one button, together with all the data,
  • secure accounts – a lockout after several failed logins, password reset by email, signing out other devices.

7. Start with a PWA, the stores can wait

Migrener launched as an Angular PWA: it runs in the browser on phone and desktop, installs to the home screen, and fixes reach users immediately, with no store review. It's a fast way to check whether the product is needed before investing in a mobile app. We compare both routes in PWA vs mobile app.

Medical device or not?

An important decision at the start. An app that diagnoses or suggests treatment may fall under medical device regulations (MDR in the EU), which is a completely different level of requirements. A diary that helps collect data and prepare for an appointment usually isn't one – but that must be communicated clearly in the app and on the website. Migrener states plainly that it doesn't diagnose and doesn't replace a doctor. For your own project, it's worth checking this with a lawyer.

Related services: web apps, mobile apps.

FAQ

Frequently asked questions

How much does a health tracking app cost?

A simple diary with accounts, a calendar and statistics as a PWA is a project in the range of tens of thousands of Polish złoty. A store app, integrations with devices (e.g. Apple Health, Google Health Connect) or a panel for doctors raise the cost. More in how much does a mobile app cost.

Can health data be stored in the cloud?

Yes, with the right safeguards: encrypted connections, server-side access control, backups, data processing agreements and servers in the European Union.

Do you build custom medical and health apps?

Yes – diaries, trackers and patient support apps as PWAs or mobile apps for iOS and Android. For projects that may be a medical device, we work with the client's regulatory adviser.

Related articles

All articles

FINALContact

Got a question? Get in touch

A few sentences about your idea, a rough deadline and budget are enough to start. The first conversation and the initial quote are free and non-binding.

biuro@app4mobile.pl
Get in touch