How khushisingh-22/crm-panel. works
Dr. Washit is a React-based CRM and workshop operations app for automotive detailing centers. Staff use its authenticated workspace to manage bookings, customers, bay progress, billing, staff, inventory, and shop settings; customers can also use booking and public-invoice views. The root App coordinates views and data updates, with local storage and Firebase synchronization supporting persistence. The README documents broader capabilities, including workflow automation and WhatsApp messaging. Some component-to-component wiring is not shown in the excerpts, so the map limits edges to visible references or documented relationships.
Main entry points: App.tsx Workspace router · firebaseSync.ts Firebase synchronization · whatsapp.ts WhatsApp sender · LoginScreen.tsx Login screen
Components 30
Workspace
- Workspace router
src/App.tsx - Login screen
src/components/LoginScreen.tsx - Dashboard
src/components/DashboardOverview.tsx - Shop settings
src/components/SettingsPanel.tsx
Service flow
- Booking portal
src/components/BookingPortal.tsx - Booking management
src/components/BookingsManager.tsx - Appointment list
src/components/AppointmentsList.tsx - Bay workboard
src/components/BayWorkboard.tsx - Waitlist
src/components/WaitlistManager.tsx - Recurring services
src/components/RecurringManager.tsx
Business operations
- Customer CRM
src/components/CustomerCRM.tsx - Billing and invoices
src/components/BillingManager.tsx - Public invoice
src/components/PublicInvoiceView.tsx - Payments
src/components/PaymentsManager.tsx - Staff management
src/components/EmployeeManagement.tsx - Expense tracking
src/components/ExpensesManager.tsx - Inventory control
src/components/InventoryManager.tsx - Services and packages
src/components/ServicesCatalog.tsx - Package management
src/components/PackagesManager.tsx - Workflow automation
src/components/AutomationsManager.tsx - Workflow manager
src/components/WorkflowsManager.tsx
Persistence
- Custom authentication
src/lib/customAuth.ts - Firebase synchronization
src/utils/firebaseSync.ts - Local storage
src/utils/storage.ts - Firebase services
src/lib/firebase.ts - CRM data contracts
src/types/crm.ts
Integrations
- WhatsApp sender
src/utils/whatsapp.ts - WhatsApp gateway
Other components
- Staff user
- Customer
Connections 33
- Staff user → Workspace router: uses
README.md - Customer → Booking portal: requests booking
README.md - Workspace router → Login screen: routes to
src/App.tsx - Workspace router → Dashboard: renders
src/App.tsx - Workspace router → Booking portal: renders
src/App.tsx - Workspace router → Booking management: renders
src/App.tsx - Workspace router → Appointment list: renders
src/App.tsx - Workspace router → Bay workboard: renders
src/App.tsx - Workspace router → Waitlist: renders
src/App.tsx - Workspace router → Recurring services: renders
src/App.tsx - Workspace router → Customer CRM: renders
src/App.tsx - Workspace router → Billing and invoices: renders
src/App.tsx - Workspace router → Public invoice: renders
src/App.tsx - Workspace router → Payments: renders
src/App.tsx - Workspace router → Staff management: renders
src/App.tsx - Workspace router → Expense tracking: renders
src/App.tsx - Workspace router → Inventory control: renders
src/App.tsx - Workspace router → Services and packages: renders
src/App.tsx - Workspace router → Package management: renders
src/App.tsx - Workspace router → Workflow automation: renders
src/App.tsx - Workspace router → Workflow manager: renders
src/App.tsx - Workspace router → Shop settings: renders
src/App.tsx - Login screen → Custom authentication: authenticates with
src/components/LoginScreen.tsx - Custom authentication → Firebase services: reads and writes
src/lib/customAuth.ts - Workspace router → Firebase synchronization: loads and saves
src/App.tsx - Workspace router → Local storage: loads and saves
src/App.tsx - Firebase synchronization → Firebase services: reads and writes
src/utils/firebaseSync.ts - Firebase synchronization → CRM data contracts: uses contracts
src/utils/firebaseSync.ts - Local storage → CRM data contracts: uses contracts
src/utils/storage.ts - Booking management → WhatsApp sender: sends messages
src/components/BookingsManager.tsx - Billing and invoices → WhatsApp sender: sends messages
src/components/BillingManager.tsx - WhatsApp sender → WhatsApp gateway: posts messages
src/utils/whatsapp.ts - Public invoice → Customer: shows receipt
README.md