How repalleswarna/mla-management works
This is a React-based MLA management web application. A user enters through the browser UI, reaches the routed login or authenticated area, and uses administrative or MLA screens to manage records; the sampled complaint and user screens also load and update data through a shared API client. The tree shows additional hospital, laboratory, constituency, party, volunteer, and public-information areas. Source excerpts are partial, so links are limited to relationships explicitly shown by excerpts or SOURCE INDEX references; backend behavior is not mapped.
Main entry points: routes/index.jsx Route table · apiService.jsx API service · users/index.jsx User management · Complaints/index.jsx Complaint handling
Components 26
Application entry
- React bootstrap
src/main.jsx - App shell
src/App.jsx - Route table
src/routes/index.jsx - Network status
src/routes/NetworkStatus/NetworkStatusContext.jsx
Identity and layout
- Admin login
src/containers/Login/AdminLogin.jsx - Authenticated layout
src/utils/authentication.jsx - Navigation sidebar
src/components/Sidebar/Sidebar.jsx - Application header
src/components/Header/Header.jsx
Civic administration
- User management
src/routes/users/index.jsx - Constituencies
src/routes/constituency - Complaint handling
src/routes/Complaints/index.jsx - Appointments
src/routes/Appointment/index.jsx - Party and MLA services
src/routes
Healthcare operations
- Hospital operations
src/routes/HOSPITAL MAIN - Hospital branch operations
src/routes/HOSPITALBRANCH MAIN - Laboratory operations
src/routes/LabCenter - Lab branch operations
src/routes/LABCENTERBRANCH MAIN
Information and outreach
- LokVartha publishing
src/routes/LokVartha - Volunteer and help
src/routes/Volunteers
Shared services
- API service
src/api/apiService.jsx - HTTP instance
src/api/instance.jsx - Redux store
src/redux/Store.jsx - Redux actions
src/redux/action.jsx - Document viewer
src/utils/DocumentViewer.jsx - Tooltip text
src/utils/TruncatedTextWithTooltip.jsx
Other components
- Browser user
Connections 24
- Browser user → React bootstrap: opens app
src/main.jsx - React bootstrap → App shell: renders
src/main.jsx - React bootstrap → Network status: wraps with
src/main.jsx - App shell → Route table: renders
src/App.jsx - Route table → Admin login: routes to
src/routes/index.jsx - Route table → Authenticated layout: wraps routes
src/routes/index.jsx - Authenticated layout → Navigation sidebar: renders
src/utils/authentication.jsx - Authenticated layout → Application header: renders
src/utils/authentication.jsx - Admin login → API service: requests data
src/containers/Login/AdminLogin.jsx - Admin login → Redux actions: dispatches profile
src/containers/Login/AdminLogin.jsx - Redux store → Redux actions: uses reducer
src/redux/Store.jsx - Route table → User management: routes to
src/routes/index.jsx - Route table → Constituencies: routes to
src/routes/index.jsx - Route table → Complaint handling: routes to
src/routes/index.jsx - Route table → Appointments: routes to
src/routes/index.jsx - Route table → LokVartha publishing: routes to
src/routes/index.jsx - User management → API service: requests records
src/routes/users/index.jsx - Complaint handling → API service: requests complaints
src/routes/Complaints/index.jsx - Appointments → API service: uses service
src/routes/Appointment/index.jsx - API service → HTTP instance: sends requests
src/api/apiService.jsx - Complaint handling → Tooltip text: renders text
src/routes/Complaints/index.jsx - User management → Tooltip text: renders text
src/routes/users/index.jsx - Complaint handling → Document viewer: shows documents
src/routes/Complaints/index.jsx - User management → Document viewer: shows documents
src/routes/users/index.jsx