Offline-first PWA for timing labor contractions. One primary button (start/stop), a timeline of past contractions sized by duration and spaced by interval, and coarse-stepper editors for fixing a contraction's length or the gap between two.
- Vite + React + TypeScript
- Tailwind v4 (
@tailwindcss/vite) vite-plugin-pwa(registerType: 'autoUpdate', full precache)- localStorage persistence, Screen Wake Lock while a contraction is running
npm install
npm run devnpm run build # tsc -b && vite build, output in dist/
npm run preview # serve the production build locallyHosted on Azure Static Web Apps via the GitHub Actions workflow in
.github/workflows/azure-static-web-apps.yml (build command npm run build,
output location dist). Requires an AZURE_STATIC_WEB_APPS_API_TOKEN repo
secret from the Azure Static Web App resource.