How hari-mandy/construction-erp-react works
This React ERP dashboard provides routed dashboard, matters and profile views alongside login and registration screens. The main user workflow is entering through the app routes, viewing matters in a searchable/filterable paginated listing, and using authentication forms for account access. The interface also includes sidebar navigation, notifications, profile editing, responsive search and theme controls. The graph preserves documented password-reset capability, though its page files are absent from the supplied tree. Edges are limited to relationships explicit in excerpts, the source index or README.
Main entry points: App.js Route application · Layout.js Workspace layout · MattersContainer.jsx Matters listing · Matters.jsx Matters page
Components 28
App routing
- Route application
src/App.js - Dashboard page
src/pages/Dashboard.jsx - Matters page
src/pages/Matters.jsx - Party profile page
src/pages/Partymaster.jsx
Account access
- Login page
src/pages/Login.jsx - Registration page
src/pages/Register.jsx - Password reset
- Login form
src/components/forms/LoginForm.jsx - Registration form
src/components/forms/RegisterForm.jsx - Profile form
src/components/forms/ProfileForm.jsx - Login swiper
src/components/LoginSwiper.jsx - Email verification
ERP workspace
- Matters listing
src/components/Listing/MattersContainer.jsx - Search filter
src/components/Listing/SearchFilter.jsx - Users table
src/components/Listing/UsersTable.jsx - Pagination
src/components/pagination/PageNav.jsx
Shared interface
- Workspace layout
src/containers/Layout.js - Header controls
src/components/Header.jsx - Sidebar navigation
src/components/sideNavBar/SideBar.jsx - Notification panel
src/components/header/NotificationBar.jsx
State and services
- Authentication services
src/services/login-services.js - POST request helper
src/hooks/fetchPostData.jsx - Menu state
src/context/menuToggleContext.js - Theme state
src/context/themeToggleContext.js - Filter state
src/context/filterUrlContext.js - User filter state
src/context/filterUsersContext.js
Other components
- User
- ERP backend
Connections 36
- User → Route application: opens routes
src/App.js - Route application → Dashboard page: routes to
src/App.js - Route application → Matters page: routes to
src/App.js - Route application → Party profile page: routes to
src/App.js - Route application → Login page: routes to
src/App.js - Route application → Registration page: routes to
src/App.js - Route application → Password reset: routes to
src/App.js - Login page → Login form: renders
src/pages/Login.jsx - Login page → Login swiper: renders
src/pages/Login.jsx - Registration page → Registration form: renders
src/pages/Register.jsx - Registration page → Login swiper: renders
src/pages/Register.jsx - Login form → Authentication services: validates with
src/components/forms/LoginForm.jsx - Registration form → POST request helper: submits through
src/components/forms/RegisterForm.jsx - Party profile page → Workspace layout: renders within
src/pages/Partymaster.jsx - Party profile page → Profile form: uses
- Profile form → POST request helper: submits through
src/components/forms/ProfileForm.jsx - Authentication services → ERP backend: fetches user data
src/services/login-services.js - POST request helper → ERP backend: posts data
src/hooks/fetchPostData.jsx - Matters page → Workspace layout: renders within
src/pages/Matters.jsx - Matters page → Matters listing: renders
src/pages/Matters.jsx - Matters listing → Search filter: includes
- Matters listing → Users table: includes
- Matters listing → Pagination: paginates with
- Search filter → Filter state: updates
src/components/Listing/SearchFilter.jsx - Route application → Filter state: provides
src/App.js - Route application → User filter state: provides
src/App.js - Route application → Menu state: provides
src/App.js - Route application → Theme state: provides
src/App.js - Dashboard page → Workspace layout: renders within
src/pages/Dashboard.jsx - Workspace layout → Header controls: renders
src/containers/Layout.js - Workspace layout → Sidebar navigation: renders
src/containers/Layout.js - Workspace layout → Notification panel: renders
src/containers/Layout.js - Header controls → Menu state: updates
src/components/Header.jsx - Header controls → Theme state: updates
src/components/Header.jsx - Sidebar navigation → Menu state: reads
src/components/sideNavBar/SideBar.jsx - Password reset → Email verification: verifies by
README.md