Project

MoodLens

A wellness-tracking app for logging mood, sleep, stress, and energy in real time, built on React 19, Firebase Auth, and Cloud Firestore. It renders a 30-day color-coded mood heatmap and tracks streaks and goals over time. Firestore security rules are scoped so every read and write is enforced against the authenticated user's UID, not just checked client-side.

Weekly and monthly wellness reports are generated by Llama 3.1 through the Groq API, analyzing patterns from a user's stored check-in history, with responses cached locally per user, report type, and day so the same report doesn't trigger a redundant API call. The app is split into 8 lazy-loaded chunks and backed by IndexedDB for offline persistence, with error boundaries and skeleton loading states instead of blank screens on failure. There's also a zero-signup guest demo mode preloaded with 30 days of sample data.