How cxzucchini/pawfolio works
Pawfolio is a dog-care record and reminder application. Users register or log in, then manage dog profiles and per-dog vaccinations, appointments, medical history, and emergency details; dashboard summaries, notifications, and in-app alerts help them act on upcoming or overdue care. The React client calls an Express API, which validates and persists account and care data through MongoDB and can send recovery or contact email. Several server and UI modules are only represented by the README or source index, so those links reflect documented capabilities rather than inspected implementation details.
Main entry points: Dashboard.jsx Dashboard · api.js API client · RootApp.jsx App and auth · app.js Express API
Components 24
Web client
- Public landing
src/Landing.jsx - App and auth
src/RootApp.jsx - Recovery and policies
src/AccountPages.jsx - Dashboard routes
src/dashboardRoutes.js
Care workflows
- Dashboard
src/Dashboard.jsx - Dog profiles
src/Dashboard.jsx - Vaccinations
src/Dashboard.jsx - Care schedules
src/ScheduleBoard.jsx - Medical history
src/CarePages.jsx - Emergency vault
src/CarePages.jsx - Contact forms
src/ContactPage.jsx - Notifications
src/Notifications.jsx - Reminder popups
src/ReminderAlerts.jsx - Live refresh
src/useLiveRefresh.js
API and services
- API client
src/api.js - Express API
server/app.js - Email service
server/mail.js - Photo handling
server/photos.js
Shared logic
- Reminder timing
shared/reminderTiming.js - Notification items
src/notificationItems.js
Persistence
- Data models
server/models.js - MongoDB
Other components
- Visitor or user
- SMTP provider
Connections 30
- Visitor or user → Public landing: opens
README.md - Public landing → App and auth: enters app
src/Landing.jsx - App and auth → Recovery and policies: renders recovery
src/RootApp.jsx - App and auth → API client: requests session
src/RootApp.jsx - App and auth → Dashboard: renders dashboard
src/RootApp.jsx - App and auth → Dashboard routes: resolves views
src/RootApp.jsx - App and auth → Contact forms: renders contact
src/RootApp.jsx - Recovery and policies → API client: submits recovery
src/AccountPages.jsx - Dashboard → API client: loads and saves
src/Dashboard.jsx - Dashboard → Dog profiles: manages dogs
README.md - Dashboard → Vaccinations: manages doses
README.md - Dashboard → Care schedules: shows schedules
src/Dashboard.jsx - Dashboard → Medical history: opens history
README.md - Dashboard → Emergency vault: opens vault
README.md - Dashboard → Notifications: shows care notices
src/Dashboard.jsx - Dashboard → Live refresh: refreshes records
src/Dashboard.jsx - Medical history → API client: reads and saves
src/CarePages.jsx - Emergency vault → API client: reads and saves
src/CarePages.jsx - Contact forms → API client: sends message
src/ContactPage.jsx - Notifications → Notification items: builds notices
src/Notifications.jsx - Notifications → Reminder popups: shows popups
src/Notifications.jsx - Notification items → API client: uses care data
src/notificationItems.js - Notification items → Reminder timing: calculates due times
src/notificationItems.js - API client → Express API: sends HTTP requests
README.md - Express API → Data models: queries records
server/app.js - Data models → MongoDB: persists records
README.md - Express API → Email service: sends recovery mail
server/app.js - Email service → SMTP provider: delivers email
README.md - Express API → Photo handling: validates photo input
server/app.js - Express API → Reminder timing: applies reminder timing
server/app.js