Skip to content
Back to projects
Completed

Reservoir and Dam Emergency Management

Digitises a dam's Emergency Plan: scenarios, mandatory actions, an auditable log and drills across several dams. WCAG 2.2 AA.

What it is

The application used to manage a dam’s Emergency Plan: which state it is in, what has to be done in each one and who did it. It is a complete rewrite, on my own, of a legacy application (Django) on Svelte 5, FastAPI and PostgreSQL. In production.

What it does

  • State machine for the plan: loading, normal operation and scenarios 0 to 3. Triggers (floods, earthquakes, monitoring readings) raise the state.
  • Mandatory actions per state, with priority, permission level and their official PDF sheet.
  • Auditable log of every action (who, when, what), exportable, with a SHA-256 hash chain, RFC 3161 timestamps and a verifier an auditor can run without the application or its database.
  • Dam portfolio: status and compliance across the whole estate, a due-date calendar exportable to iCal, drills with a generated assessment report and training accreditation.
  • Three modes (training, testing and production), each with its own colour, and single sign-on with the organisation’s directory account.

Quality

Designed for non-technical people: tabs with breadcrumbs, explicit wording on every action and light and dark themes. WCAG 2.2 AA with no violations, checked in a real browser across every section and both themes.

Stack: Svelte 5 · TypeScript · FastAPI · PostgreSQL 16.