Skip to main content

Project Structure


Frontend Routes

All routes are nested under DashboardLayout which renders the sidebar navigation.

State Management

The frontend uses Zustand for global state.

useDataStore

Holds master data loaded at app startup. Actions:
  • fetchClientsAndKarigars() — fetches clients and karigars
  • fetchPolishers() — fetches polisher data

clientOrdersStore

Manages client order state including filtering, pagination, and selected order.

useAccessibilityStore

Stores user accessibility preferences (e.g. font size, high contrast).