How jarajapugowtham/pharmavexa works
PharmaVexa is a React pharmacy-management frontend. The administrator enters through a routed dashboard and navigates to medicine, inventory, sales, analytics, alerts, settings, and profile views. These pages present sample or component-local state; the sampled code does not show a backend or shared operational database. Settings and profile explicitly save to browser local storage. The graph covers documented product areas, while arrows are limited to relationships visible in excerpts, the SOURCE INDEX, or README; unsampled page implementations are not inferred.
Main entry points: App.jsx App and routes · Medicines.jsx Medicine management · main.jsx React entry · Dashboard.jsx Dashboard overview
Components 18
Application shell
- React entry
frontend/src/main.jsx - App and routes
frontend/src/App.jsx - Error boundary
frontend/src/components/ErrorBoundary.jsx
Pharmacy operations
- Medicine management
frontend/src/pages/Medicines.jsx - Medicine form
frontend/src/components/MedicineForm.jsx - Medicine search
frontend/src/components/SearchBar.jsx - Inventory view
frontend/src/pages/Inventory.jsx - Sales view
frontend/src/pages/Sales.jsx
Monitoring and insights
- Dashboard overview
frontend/src/pages/Dashboard.jsx - Analytics view
frontend/src/pages/Analytics.jsx - Alerts view
frontend/src/pages/Alerts.jsx
Account and preferences
- Settings
frontend/src/pages/Settings.jsx - Administrator profile
frontend/src/pages/Profile.jsx - Browser local storage
Shared interface
- Top navigation
frontend/src/components/Navbar.jsx - Sidebar navigation
frontend/src/components/Sidebar.jsx - Header controls
frontend/src/components/Header.jsx
Other components
- Administrator
Connections 19
- Administrator → React entry: opens
- React entry → App and routes: renders
frontend/src/main.jsx - App and routes → Dashboard overview: routes to
frontend/src/App.jsx - App and routes → Medicine management: routes to
frontend/src/App.jsx - App and routes → Inventory view: routes to
frontend/src/App.jsx - App and routes → Sales view: routes to
frontend/src/App.jsx - App and routes → Analytics view: routes to
frontend/src/App.jsx - App and routes → Alerts view: routes to
frontend/src/App.jsx - App and routes → Settings: routes to
frontend/src/App.jsx - App and routes → Administrator profile: routes to
frontend/src/App.jsx - App and routes → Top navigation: renders
frontend/src/App.jsx - App and routes → Sidebar navigation: renders
frontend/src/App.jsx - App and routes → Header controls: renders
frontend/src/App.jsx - App and routes → Error boundary: wraps
frontend/src/App.jsx - Medicine management → Medicine search: renders
frontend/src/pages/Medicines.jsx - Medicine management → Medicine form: submits to
frontend/src/pages/Medicines.jsx - Dashboard overview → Alerts view: links to
frontend/src/pages/Dashboard.jsx - Settings → Browser local storage: writes
frontend/src/pages/Settings.jsx - Administrator profile → Browser local storage: writes
frontend/src/pages/Profile.jsx