myopia

Healthcare · Web · Back-end2025

A clinician-facing myopia management web app and the back-end it shares with the myodoc parent app. I handled planning, design, and front-end and back-end development.

Myopia Management

Architecture

Myopia growth curve

01 / Growth curve

Axial length growth, managed vs. unmanaged

The first screen compares normal growth, unmanaged myopia and managed myopia to show what the service is for.

Key features

  • Three axial length curves from age 3 to 18
  • Korean · English
  • Separate views for clinicians and parents

Implementation

A React, Vite and TypeScript SPA with growth curves drawn in Chart.js. Server state is handled by React Query.

  • React
  • Vite
  • Chart.js
  • React Query

Participating clinics

02 / Hospitals

Participating clinics and registered patients

Shows the participating clinics and how many patients each has registered.

Key features

  • Total registered patients
  • Clinic cards with region and patient count
  • First member of a new clinic becomes its admin

Implementation

Clinics and patients live in Express, Prisma and PostgreSQL, with clinician permissions granted per clinic. Admins can grant admin rights and data access to other clinicians.

  • Express
  • Prisma · PostgreSQL
  • Permissions

Axial length percentile chart · measurements

03 / Axial length chart

Measurements plotted over age-matched percentiles

Both eyes are plotted over the 3rd–95th percentile curves, so clinicians can explain progression to parents during the visit.

Key features

  • Reference data by ethnicity; axial length or refraction (SPH · SE)
  • Clinic entries solid, parent app entries dashed with hollow triangles
  • Treatment periods, recent annual growth (mm/yr) and data export

Implementation

Percentile curves and treatment periods are drawn with Chart.js and its annotation plugin. Percentiles are computed on the server, interpolating linearly between ages and reading on z-scores, so the clinician view and the myodoc app get the same answer. Data exports use ExcelJS.

  • Chart.js
  • chartjs-plugin-annotation
  • Percentiles
  • ExcelJS

Treatment · patient data

04 / Treatment · patient data

Treatment history alongside daily habits

Treatments, near-work and outdoor hours, and the parents' myopia status are managed on one screen.

Key features

  • Add, edit and remove treatments with periods
  • Trend line over parent app entries by date
  • Parents' myopia status and prescription

Implementation

Entries parents log in the myodoc app carry an app badge, and a least-squares line shows the trend. Values duplicated across linked clinics are merged by date and value.

  • myodoc integration
  • Trend line
  • React Query

Admin

Design system

Color

Typography

Tech stack

Front-end

React 19 · Vite · TypeScript

React Query · React Router

Chart.js · MUI · Radix UI

Back-end · Security

Express · Prisma · PostgreSQL · zod

JWT · bcrypt · helmet · rate limit

Google Cloud KMS encryption · audit log

Operations

Email alerts when thresholds are exceeded

Study participant and visit management

Google sign-in · admin pages

Next projectETHIZEN