How lelei-prtty/furpectmatch-thesis works
This is a React adoption platform for pet guardians and pet providers. Guardians register, set adoption preferences, receive pet recommendations, and submit adoption requests; providers register, publish listings, and review requests. Both roles use dashboards for profiles, notifications, and messaging. The runtime divides into route/page orchestration, guardian discovery and provider listing workflows, shared account and adoption data services, and Supabase-backed persistence. Several capabilities are established by module names and import references rather than complete excerpts, so the graph omits uncertain links and does not infer undocumented integrations.
Main entry points: App.jsx App routes · supabaseClient.js Supabase client · GuardianDashboard.jsx Guardian dashboard · ProviderDashboard.jsx Provider dashboard
Components 31
App routing
- App routes
src/App.jsx - Home page
src/pages/HomePage.jsx - Terms page
src/pages/Terms.jsx
Guardian experience
- Guardian login and signup
src/pages/PetGuardian/Register.jsx - Guardian dashboard
src/pages/PetGuardian/GuardianDashboard.jsx - Guardian profile
src/pages/PetGuardian/ProfileModal.jsx - Preferences form
src/components/Petpreferencesform.jsx - Pet recommendations
src/api/recommender.js - Top matches
src/components/TopMatchesModal.jsx
Provider experience
- Provider login and signup
src/pages/PetProvider/Register.jsx - Provider dashboard
src/pages/PetProvider/ProviderDashboard.jsx - Add pet listing
src/pages/PetProvider/AddPetModal.jsx - Listing details
src/pages/PetProvider/PetModal.jsx
Shared data services
- Preference storage
src/Data/Petpreferencesstorage.jsx - Preference options
src/Data/Petpreferencesoptions.jsx - Pet filters
src/utils/petFilters.js - Accounts and sessions
src/Data/Accounts.jsx - Guardian requests
src/Data/GuardianSession.jsx - Provider listings
src/Data/ProviderSession.jsx - Adoption requests
src/Data/Requests.jsx - Messaging
src/Data/Messaging.jsx - User presence
src/Data/Presence.jsx - Notifications
src/components/NotificationModal.jsx - Profile display
src/components/ProfileSection.jsx - Pet breed data
src/Data/Petbreeds.jsx - Search selector
src/components/SearchSelect.jsx - Pet imagery
src/components/PetPhoto.jsx
Persistence and integration
- Supabase client
src/lib/supabaseClient.js
Other components
- Pet guardian
- Pet provider
- Supabase service
Connections 38
- Pet guardian → App routes: opens app
src/App.jsx - Pet provider → App routes: opens app
src/App.jsx - App routes → Home page: routes to
src/App.jsx - App routes → Guardian login and signup: routes to
src/App.jsx - App routes → Guardian dashboard: routes to
src/App.jsx - App routes → Provider login and signup: routes to
src/App.jsx - App routes → Provider dashboard: routes to
src/App.jsx - App routes → Terms page: routes to
src/App.jsx - App routes → Accounts and sessions: checks session
src/App.jsx - Guardian dashboard → Pet recommendations: requests matches
src/pages/PetGuardian/GuardianDashboard.jsx - Guardian dashboard → Guardian requests: submits request
src/pages/PetGuardian/GuardianDashboard.jsx - Guardian dashboard → Preference storage: loads preferences
src/pages/PetGuardian/GuardianDashboard.jsx - Guardian dashboard → Profile display: renders profile
src/pages/PetGuardian/GuardianDashboard.jsx - Guardian dashboard → Pet imagery: renders images
src/pages/PetGuardian/GuardianDashboard.jsx - Guardian profile → Preferences form: renders form
src/pages/PetGuardian/ProfileModal.jsx - Guardian profile → Preference storage: uses storage
src/pages/PetGuardian/ProfileModal.jsx - Preference storage → Preference options: normalizes with
src/Data/Petpreferencesstorage.jsx - Top matches → Pet recommendations: requests matches
src/components/TopMatchesModal.jsx - Pet recommendations → Pet filters: uses filters
src/api/recommender.js - Provider dashboard → Provider listings: loads listings
src/pages/PetProvider/ProviderDashboard.jsx - Provider dashboard → Provider listings: updates requests
src/pages/PetProvider/ProviderDashboard.jsx - Provider dashboard → Messaging: starts approved chat
src/pages/PetProvider/ProviderDashboard.jsx - Provider dashboard → Notifications: renders notifications
src/pages/PetProvider/ProviderDashboard.jsx - Add pet listing → Search selector: uses selector
src/pages/PetProvider/AddPetModal.jsx - Add pet listing → Pet breed data: loads breeds
src/pages/PetProvider/AddPetModal.jsx - Listing details → Provider listings: uses listing data
src/pages/PetProvider/PetModal.jsx - Guardian requests → Adoption requests: loads requests
src/Data/GuardianSession.jsx - Provider listings → Adoption requests: loads requests
src/Data/ProviderSession.jsx - Messaging → User presence: loads presence
src/Data/Messaging.jsx - Messaging → Adoption requests: reads requests
src/Data/Messaging.jsx - Accounts and sessions → Supabase client: uses client
src/Data/Accounts.jsx - Guardian requests → Supabase client: uses client
src/Data/GuardianSession.jsx - Provider listings → Supabase client: uses client
src/Data/ProviderSession.jsx - Adoption requests → Supabase client: uses client
src/Data/Requests.jsx - Messaging → Supabase client: uses client
src/Data/Messaging.jsx - User presence → Supabase client: uses client
src/Data/Presence.jsx - Preference storage → Supabase client: uses client
src/Data/Petpreferencesstorage.jsx - Supabase client → Supabase service: connects to
src/lib/supabaseClient.js