TorbatYar/frontend/shared/providers
Mortezakoohjani 6f4a484051 Migrate Beauty, Healthcare, and Accounting frontend to modular src/modules architecture.
Move business logic out of App Router into module packages, add boundary validation scripts, and keep all routes as thin re-exports without changing URLs or API behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 22:28:27 +03:30
..
README.md Migrate Beauty, Healthcare, and Accounting frontend to modular src/modules architecture. 2026-07-26 22:28:27 +03:30

shared/providers/

Purpose

Top-level React providers composed in the root layout.

Legacy source (not moved)

  • components/providers/AppProviders.tsx — TanStack Query + Sonner
  • components/providers/ColorModeProvider.tsx — light/dark context
  • components/ThemeProvider.tsx — white-label loader

Provider stack (current)

ThemeProvider → ColorModeProvider → AppProviders → app content

Planned contents

  • AppProviders — query client, toasts
  • ColorModeProvider — theme mode
  • Future: optional FeatureFlagProvider, I18nProvider

Status

📁 Scaffold only — providers remain in components/providers/.