Designing Digital Health Systems ยท Course Project
Rotational Focus
Strategiesby John Bovard
A full-stack research web app designed to test whether randomly rotating focus strategies improves daily productivity and satisfaction for people with ADHD. Preceded by a 3-day pilot using rapid iterative prototyping to refine the study design.
How the study worked
Baseline ยท 3 days
Daily surveys with no assigned strategy. This established each participant's baseline.
Daily Focus ยท 4 days
Use a randomly assigned strategy each day (repeats allowed), then fill out end-of-day surveys. This tested whether strategy rotation improves outcomes.
Exit
A reflection survey along with demographic data collection.
Key features
Rotation algorithm
Randomly assigns a focus strategy each day โ designed to test whether rotating strategies drives changes in productivity and satisfaction.
Push notifications + PWA
Service worker, installable on mobile, with scheduled Web Push reminders to complete daily surveys.
Clerk + Supabase RLS
Clerk JWTs injected as Supabase access tokens โ row-level security enforces per-user data isolation without custom middleware.
Built with
- Next.js 16 App Router
- Tailwind v4
- Clerk Auth
- Supabase + RLS
- Web Push API
- PWA
- Vercel
Want to explore the app?