How jiveradev/ipacussystem works
iPawcus is a veterinary clinic and pet-owner EMR and management system. Owners and clinic staff use role-specific dashboards to manage pets and medical records, book services, submit payment proof, and track clinic queues; administrators also manage clinic operations and reports. The React application communicates with PHP API scripts backed by MySQL, with optional Jitsi video consultations and browser push notifications. The tree and excerpts establish the application entry points and selected dispatches; many feature implementations were not sampled, so their internal connections are not asserted.
Main entry points: App.jsx React app · index.php PHP API router · db.php Database connection · online_consultations.php Online consultations
Components 26
Application
- React app
src/App.jsx - Role dashboards
src/components/dashboardRouter.jsx
Pet Care
- Pet registry
php/add_pet.php - Ownership linking
php/link_pet.php - Medical records
php/pet_medical_records.php - Consent documents
src/services/consentDocumentPdf.js - Bookings
php/add_booking.php - Availability
php/booking_availability.php - Online consultations
php/online_consultations.php
Clinic Operations
- Queue tracking
php/add_to_queue.php - Boarding
php/boarding_management.php - Inventory
php/inventory.php - Reports
php/reports_generate.php
Backend Platform
- PHP API router
php/index.php - Database connection
php/db.php - Database config
php/config.php
Shared Services
- API client
src/services/apiClient.js - Error presentation
src/lib/errorPresentation.js - Toast feedback
src/reusecomponent/toast.jsx - Push notifications
src/services/pushNotificationService.js - PWA setup
src/pwa/pwaConfig.js - Auto refresh
src/hooks/useAutoRefresh.js
Other components
- Pet owners
- Clinic staff
- Jitsi service
- MySQL
Connections 27
- Pet owners → React app: uses
README.md - Clinic staff → React app: uses
README.md - React app → Role dashboards: routes by role
src/App.jsx - React app → API client: checks server
src/App.jsx - React app → Toast feedback: shows feedback
src/App.jsx - API client → Error presentation: formats errors
src/services/apiClient.js - React app → PHP API router: requests API
- PHP API router → Database config: loads config
php/index.php - Database connection → Database config: loads config
php/db.php - Database connection → MySQL: connects
- PHP API router → Pet registry: dispatches pet requests
php/index.php - PHP API router → Ownership linking: dispatches linking
php/index.php - Clinic staff → Pet registry: registers pets
README.md - Pet owners → Ownership linking: links ownership
README.md - Pet owners → Medical records: views history
README.md - Pet owners → Bookings: books services
README.md - Pet owners → Availability: checks slots
- Clinic staff → Queue tracking: tracks visits
README.md - Clinic staff → Boarding: manages boarding
- Clinic staff → Inventory: manages stock
- Clinic staff → Reports: reviews reports
- Pet owners → Consent documents: submits documents
- Pet owners → Online consultations: joins consultation
- Online consultations → Jitsi service: uses meetings
- PHP API router → Push notifications: serves push API
- Push notifications → PWA setup: registers worker
src/services/pushNotificationService.js - React app → Auto refresh: refreshes views