How bibimoni/petcare works
Petcare is a multi-store pet-care operations application: staff manage customers and pets, catalog and inventory, services, and point-of-sale orders, while administrators manage stores, roles, employees, and reporting. The client routes users into role-gated feature pages; the server exposes domain APIs, with controllers delegating to services. The README provides no product details, and most client API implementations and server service internals were not sampled, so client-to-server links are shown as unverified rather than asserted.
Main entry points: main.tsx Route access · orders.controller.ts Orders API · stores.controller.ts Store management · pet-list-page.tsx Pet profiles
Components 34
Client application
- Route access
petcareclient/src/main.tsx - Customer records
petcareclient/src/features/customer/customer-page.tsx - Pet profiles
petcareclient/src/features/pets/pet-list-page.tsx - Inventory
petcareclient/src/features/inventory/inventory-page.tsx - Stock and expiry
petcareclient/src/features/inventory/low-stock-page.tsx - Service catalog
petcareclient/src/features/service/components/service-page.tsx - Point of sale
petcareclient/src/features/pos/pos-page.tsx - Order history
petcareclient/src/features/pos/history-page.tsx - Dashboard
petcareclient/src/features/dashboard/dashboard-page.tsx - Finance reports
petcareclient/src/features/finance/page.tsx - Audit logs
petcareclient/src/features/audit-logs/page.tsx - Notifications
petcareclient/src/features/notifications/notifications-page.tsx - Employee management
petcareclient/src/features/employees/page.tsx - Store settings
petcareclient/src/features/settings/page.tsx - Invitations
petcareclient/src/features/invitation/invitation-page.tsx
Store operations
- Orders API
petcareserver/src/orders/orders.controller.ts - Order processing
petcareserver/src/orders/orders.service.ts - Customer API
petcareserver/src/customers/customers.controller.ts - Customer operations
petcareserver/src/customers/customers.service.ts - Pet API
petcareserver/src/pets/pets.controller.ts - Pet operations
petcareserver/src/pets/pets.service.ts - Product API
petcareserver/src/categories/products/products.controller.ts - Product operations
petcareserver/src/categories/products/products.service.ts - Service API
petcareserver/src/categories/services/services.controller.ts - Service operations
petcareserver/src/categories/services/services.service.ts
Platform administration
- Authentication
petcareserver/src/auth/auth.service.ts - Store management
petcareserver/src/stores/stores.controller.ts - Store operations
petcareserver/src/stores/stores.service.ts - Role management
petcareserver/src/roles/roles.controller.ts - Role operations
petcareserver/src/roles/roles.service.ts - Notifications API
petcareserver/src/notifications/notifications.controller.ts - Notification operations
petcareserver/src/notifications/notifications.service.ts - Employee invitations
petcareserver/src/stores/stores.controller.ts
Other components
- Staff user
Connections 34
- Staff user → Route access: opens app
petcareclient/src/main.tsx - Route access → Customer records: routes to
petcareclient/src/main.tsx - Route access → Pet profiles: routes to
petcareclient/src/main.tsx - Route access → Inventory: routes to
petcareclient/src/main.tsx - Route access → Stock and expiry: routes to
petcareclient/src/main.tsx - Route access → Point of sale: routes to
petcareclient/src/main.tsx - Route access → Order history: routes to
petcareclient/src/main.tsx - Route access → Dashboard: routes to
petcareclient/src/main.tsx - Route access → Audit logs: routes to
petcareclient/src/main.tsx - Route access → Store settings: routes to
petcareclient/src/main.tsx - Route access → Pet profiles: role gates
petcareclient/src/main.tsx - Route access → Stock and expiry: role gates
petcareclient/src/main.tsx - Orders API → Order processing: delegates to
petcareserver/src/orders/orders.controller.ts - Customer API → Customer operations: delegates to
petcareserver/src/customers/customers.controller.ts - Pet API → Pet operations: delegates to
petcareserver/src/pets/pets.controller.ts - Product API → Product operations: delegates to
petcareserver/src/categories/products/products.controller.ts - Service API → Service operations: delegates to
petcareserver/src/categories/services/services.controller.ts - Store management → Store operations: delegates to
petcareserver/src/stores/stores.controller.ts - Role management → Role operations: delegates to
petcareserver/src/roles/roles.controller.ts - Notifications API → Notification operations: delegates to
petcareserver/src/notifications/notifications.controller.ts - Employee management → Employee invitations: requests staff
- Customer records → Customer API: requests records
- Pet profiles → Pet API: requests profiles
- Inventory → Product API: requests products
- Stock and expiry → Product API: requests alerts
- Service catalog → Service API: requests services
- Point of sale → Orders API: creates orders
- Order history → Orders API: requests history
- Notifications → Notifications API: requests notices
- Store settings → Store management: updates settings
- Invitations → Store management: accepts invite
- Finance reports → Orders API: requests figures
- Dashboard → Orders API: requests metrics
- Audit logs → Store management: requests logs