How msferraresi/cashnest_app works
CashNest is a browser-based dashboard for account access and managing addresses, payment periods, invoices, user profiles, and configuration data. The principal workflow is login or registration, then protected navigation into dashboard features; the feature screens retrieve and update data through a shared Axios client. The graph reflects routes and calls visible in excerpts or SOURCE INDEX references. Several feature implementations were not excerpted, so their internal behavior and any backend service are not mapped.
Main entry points: App.js Route application · axiosConfig.js HTTP client · AuthContext.js Authentication state · DashboardLayout.js Dashboard layout
Components 25
App and access
- Route application
src/App.js - Auth layout
src/layouts/AuthLayout.js - Login
src/pages/Auth/Login.js - Registration
src/pages/Auth/Register.js - Private route
src/components/PrivateRoute.js - Dashboard layout
src/pages/Dashboard/DashboardLayout.js
Dashboard features
- Address management
src/components/dashboard/AddressList.js - Address form
src/components/dashboard/AddressFormDialog.js - Payment periods
src/components/dashboard/PaymentList.js - Invoices
src/components/dashboard/InvoiceList.js - Invoice form
src/components/dashboard/InvoiceFormDialog.js - Copy invoices
src/components/dashboard/CopyInvoicesDialog.js - User profile
src/components/dashboard/Profile.js
Administration
- User administration
src/components/admin/UserList.js - Configuration records
src/components/admin/ManagementPage.js - Configuration screens
src/pages/Dashboard/config - Configuration hub
src/pages/Dashboard/ConfigurationPage.js
Shared services
- Authentication state
src/context/AuthContext.js - Theme preferences
src/context/ThemeContext.js - HTTP client
src/api/axiosConfig.js - Dashboard header
src/components/layout/AppHeader.js - Session timeout
src/components/SessionTimeoutModal.js - Footer
src/components/common/Footer.js - Delete confirmation
src/components/dashboard/DeleteConfirmationDialog.js
Other components
- User
Connections 45
- User → Route application: opens
src/App.js - Route application → Authentication state: provides auth
src/App.js - Route application → Theme preferences: provides theme
src/App.js - Route application → Auth layout: routes auth
src/App.js - Auth layout → Login: renders route
src/App.js - Auth layout → Registration: renders route
src/App.js - User → Login: submits credentials
- Login → Authentication state: requests login
src/pages/Auth/Login.js - Registration → HTTP client: submits registration
src/pages/Auth/Register.js - Route application → Private route: protects routes
src/App.js - Private route → Authentication state: checks session
src/components/PrivateRoute.js - Private route → Dashboard layout: renders dashboard
src/App.js - Route application → Address management: routes addresses
src/App.js - Route application → Payment periods: routes payments
src/App.js - Route application → Invoices: routes invoices
src/App.js - Route application → User profile: routes profile
src/App.js - Route application → User administration: routes users
src/App.js - Route application → Configuration hub: routes configuration
src/App.js - Route application → Configuration screens: routes settings
src/App.js - Dashboard layout → Dashboard header: renders header
src/pages/Dashboard/DashboardLayout.js - Dashboard layout → Session timeout: renders timeout
src/pages/Dashboard/DashboardLayout.js - Dashboard layout → Footer: renders footer
src/pages/Dashboard/DashboardLayout.js - Dashboard layout → Authentication state: uses session state
src/pages/Dashboard/DashboardLayout.js - Authentication state → HTTP client: requests auth
src/context/AuthContext.js - Theme preferences → HTTP client: saves preference
src/context/ThemeContext.js - Dashboard header → Authentication state: uses session state
src/components/layout/AppHeader.js - Dashboard header → Theme preferences: changes brightness
src/components/layout/AppHeader.js - Address management → HTTP client: loads addresses
src/components/dashboard/AddressList.js - Address management → Address form: opens form
src/components/dashboard/AddressList.js - Address management → Delete confirmation: confirms deletion
src/components/dashboard/AddressList.js - Address form → HTTP client: saves address
src/components/dashboard/AddressFormDialog.js - Payment periods → HTTP client: loads payments
src/components/dashboard/PaymentList.js - Invoices → HTTP client: loads invoices
src/components/dashboard/InvoiceList.js - Invoices → Invoice form: opens form
src/components/dashboard/InvoiceList.js - Invoices → Copy invoices: opens copy dialog
src/components/dashboard/InvoiceList.js - Invoices → Delete confirmation: confirms deletion
src/components/dashboard/InvoiceList.js - Invoice form → HTTP client: saves invoice
src/components/dashboard/InvoiceFormDialog.js - Payment periods → Authentication state: uses session state
src/components/dashboard/PaymentList.js - User profile → HTTP client: updates profile
src/components/dashboard/Profile.js - User profile → Authentication state: uses session state
src/components/dashboard/Profile.js - User administration → HTTP client: manages users
src/components/admin/UserList.js - User administration → Delete confirmation: confirms deletion
src/components/admin/UserList.js - Configuration records → HTTP client: manages records
src/components/admin/ManagementPage.js - Configuration records → Delete confirmation: confirms deletion
src/components/admin/ManagementPage.js - Configuration screens → Configuration records: uses management
src/pages/Dashboard/config/ConceptManagementPage.js