How avinashjgtp10/salonox_mobile works
SalonOX is an Expo salon-operations app for salon owners and staff. Users enter through role-specific navigation to manage appointments, clients, services and stock, staff and attendance, and sales; dashboards and reports provide operational and financial views. The tree shows a Redux middleware/service/API layering, plus local persistence for sessions and notification settings. Edges are limited to documented routing and calls visible in sampled source; unsampled feature-to-service wiring is not inferred.
Main entry points: _layout.tsx Role navigation · ClientDetailsScreen.tsx Client details screen · client.thunk.ts Client middleware · clientMembership.thunk.ts Membership middleware
Components 23
App navigation
- Role navigation
src/app/_layout.tsx - Owner screens
src/app/(tabs)/_layout.tsx - Staff screens
src/app/(staff)/_layout.tsx
Salon operations
- Appointments
src/features/appointments/screens - Client profiles
src/features/clients/screens - Team and attendance
src/features/staff/screens - Attendance
src/features/attendance/screens - Client details screen
src/features/clients/screens/ClientDetailsScreen.tsx
Sales and catalog
- Services and catalog
src/app/catalog/index.tsx - Stock and consumables
src/app/stock/index.tsx - Quick sale
src/features/quickSale/screens/QuickSaleScreen.tsx - Checkout
src/features/quickSale/components/CheckoutSheet.tsx
Insights and alerts
- Dashboard
src/app/(tabs)/dashboard.tsx - Reports
src/features/reports/screens/reports-home-screen.tsx - Notifications
src/app/notifications.tsx
State and integrations
- Client middleware
src/middleware/client/client.thunk.ts - Membership middleware
src/middleware/clientMembership/clientMembership.thunk.ts - Redux state
src/store/index.ts - Service clients
src/services - API endpoints
src/services/api/endpoints/index.ts - Session storage
src/services/tokenStorage.ts - Notification preferences
src/services/notificationPreferencesStorage.ts
Other components
- Owner or staff
Connections 7
- Owner or staff → Role navigation: opens app
- Role navigation → Owner screens: routes owners
- Role navigation → Staff screens: routes staff
- Client details screen → Client middleware: dispatches client requests
- Client details screen → Membership middleware: dispatches membership requests
- Client middleware → Redux state: updates client state
- Membership middleware → Redux state: updates membership state