Browser-side alarm engine. The alarm is triggered on the client rather than from a server job. This keeps the timing accurate to the second and costs nothing to run, and it works even if the API is waking up from sleep.
No audio files. The alarm tone is generated with the Web Audio API oscillator, so the sound loads instantly with no assets.
Speech instead of a phone call. My first idea was an automated phone call using a voice service. Since real calls cost money, I redesigned it around free browser text-to-speech and a screen takeover, which delivered the same goal with no per-use cost.
From SQLite to PostgreSQL. I prototyped on SQLite, then moved to Supabase Postgres when I found Render's free tier wipes its disk on every restart. Profile pictures are stored as validated, size-limited data in the database for the same reason.
Secure by default. Passwords are hashed with salted PBKDF2, sessions use signed JWTs with expiry, every query is scoped to the logged-in user, and Google tokens are verified on the server.
Clean deployment. A Vercel rewrite proxies /api calls to the Render backend, so the frontend needs no hardcoded API URLs and avoids CORS issues. Times are stored in UTC and shown in the user's local time.
Known limit, designed around it. Browsers pause background pages, so the alarm rings while the tab is open. The roadmap covers push notifications and a React Native Android app for lock-screen alarms.