Web application for tracking pees and poos.
Tap the large button for a pee or the pill below it for a poo. Entries save to the server; if the connection is down they queue on the phone and sync when it returns. You can also add an entry by hand from the log, choosing the type and the time.
The log lists both types together, newest first, grouped by day with a per-type count for each day.
cd backend && npm install && npm run devcd frontend && npm install && npm startThe backend listens on port 3500 and needs a MongoDB connection string in
backend/.env as DATABASE_URI.
After deploying, hard-reload any tab you already had open. There's no service worker, so a stale tab keeps running old JS and won't pick up the new one on its own — and a tab out of sync with the deployed API will read successful saves as failures and queue them again locally.
cd frontend && CI=true npm test -- --watchAll=false