How nina1012/fip-catcare works
FIP CatCare is a web app for owners managing cats undergoing FIP treatment. The principal workflow is to open a cat’s profile, record medication and health observations, and review treatment progress alongside bloodwork and care reminders. Authentication and account management support that workflow; landing pages and a dosage calculator are additional user-facing capabilities. The README documents the product areas, while sampled source confirms some profile and form-to-API connections; unsampled feature internals are represented at their exact feature directories, with uncertain links omitted.
Main entry points: app/index.tsx Web app · [catID]/index.tsx Cat profile · supabase.ts Supabase client · auth Sign-in pages
Components 17
App experience
- Web app
src/app/index.tsx - Landing content
src/app/pages/landing.tsx - Dashboard
src/app/pages/app/dashboard.tsx - Dosage calculator
src/app/pages/app/dosage-calc.tsx
Accounts
- Sign-in pages
src/app/pages/auth - Account forms
src/features/auth/components - Authentication API
src/features/auth/api - User profile
src/features/user
Cat care
- Cat profile
src/app/pages/app/cat/[catID]/index.tsx - Cat records
src/features/cat/api - Daily health logs
src/features/daily-logs - Bloodwork
src/features/bloodwork - Care reminders
src/features/care-reminders - Progress charts
src/features/visualization - Notifications
src/features/notifications
Data services
- Supabase client
src/lib/supabase.ts
Other components
- Cat owner
Connections 19
- Cat owner → Web app: uses
README.md - Web app → Landing content: routes to
- Web app → Sign-in pages: routes to
- Web app → Dashboard: routes to
- Web app → Dosage calculator: routes to
- Web app → Cat profile: routes to
- Sign-in pages → Account forms: presents
- Account forms → Authentication API: submits to
- Authentication API → Supabase client: authenticates with
src/features/auth/api/get-auth-user.ts - Cat profile → Cat records: loads
src/app/pages/app/cat/[catID]/index.tsx - Cat profile → Daily health logs: loads and displays
src/app/pages/app/cat/[catID]/index.tsx - Cat profile → Bloodwork: displays
src/app/pages/app/cat/[catID]/index.tsx - Cat profile → Care reminders: displays
src/app/pages/app/cat/[catID]/index.tsx - Cat profile → Progress charts: renders
src/app/pages/app/cat/[catID]/index.tsx - Daily health logs → Supabase client: stores records
- Bloodwork → Supabase client: stores results
src/features/bloodwork/api/bloodwork-mutations.ts - Care reminders → Supabase client: stores schedules
src/features/care-reminders/api/care-reminder-mutations.ts - Cat owner → User profile: manages account
- Cat owner → Notifications: receives updates