How vijayalakshmibaik1031/viji-pdd works
PDD_Comp is a facility-complaint management system: employees submit issues, managers triage and complete or reject them, repeated rejections escalate to authority, and qualifying complaints can be merged and endorsed. The web application is the README-documented client; the repository also contains a React Native client with manager workflows. Both are represented alongside the Express API and PostgreSQL store. Source excerpts confirm selected routing and manager-screen dependencies; other client/API connections are documented at the product level or left unasserted where wiring was not shown.
Main entry points: App.jsx Web role routing · App.js Mobile app root · ManagerMerge.jsx Merge workflow · server.js Express API
Components 23
Web application
- Web role routing
web-admin/src/App.jsx - Web authentication
web-admin/src/context/AuthContext.jsx - Complaint state
web-admin/src/context/ComplaintContext.jsx - Shared UI
web-admin/src/components/FacilityUI.jsx - Web API client
web-admin/src/utils/apiService.js
Mobile application
- Mobile app root
facility-mobile/src/App.js - Mobile navigation
facility-mobile/src/navigation/AppNavigator.js - Mobile complaint state
facility-mobile/src/context/ComplaintContext.js - Mobile manager merge
facility-mobile/src/screens/manager/ManagerMergeScreen.js - Active work orders
facility-mobile/src/screens/manager/ManagerInProgressScreen.js - Employee roster
facility-mobile/src/screens/manager/ManagerEmployeesScreen.js
Complaint workflows
- Employee complaints
web-admin/src/pages/employee/EmployeeRaise.jsx - Manager operations
web-admin/src/pages/manager/ManagerAll.jsx - Merge workflow
web-admin/src/pages/manager/ManagerMerge.jsx - Authority review
web-admin/src/pages/authority/AuthorityAll.jsx - Escalated review
web-admin/src/pages/authority/AuthorityEscalated.jsx - Room administration
web-admin/src/pages/authority/AuthorityRooms.jsx - User administration
web-admin/src/pages/authority/AuthorityUsers.jsx
API and persistence
- Express API
backend/server.js - PostgreSQL
Other components
- Employees
- Managers
- Authority
Connections 24
- Employees → Web role routing: use web app
README.md - Managers → Web role routing: use web app
README.md - Authority → Web role routing: use web app
README.md - Web role routing → Web authentication: checks session
web-admin/src/App.jsx - Web role routing → Employee complaints: routes to
web-admin/src/App.jsx - Web role routing → Manager operations: routes to
web-admin/src/App.jsx - Web role routing → Merge workflow: routes to
web-admin/src/App.jsx - Web role routing → Authority review: routes to
web-admin/src/App.jsx - Web role routing → Escalated review: routes to
web-admin/src/App.jsx - Web role routing → Room administration: routes to
web-admin/src/App.jsx - Web role routing → User administration: routes to
web-admin/src/App.jsx - Manager operations → Complaint state: reads complaint state
web-admin/src/pages/manager/ManagerAll.jsx - Merge workflow → Complaint state: uses merge actions
web-admin/src/pages/manager/ManagerMerge.jsx - Merge workflow → Shared UI: renders components
web-admin/src/pages/manager/ManagerMerge.jsx - Web API client → Express API: calls API
README.md - Express API → PostgreSQL: reads and writes
README.md - Employees → Mobile app root: use mobile app
- Managers → Mobile app root: use mobile app
- Authority → Mobile app root: use mobile app
- Mobile app root → Mobile navigation: renders
facility-mobile/src/App.js - Mobile manager merge → Mobile complaint state: uses complaint actions
facility-mobile/src/screens/manager/ManagerMergeScreen.js - Active work orders → Mobile complaint state: uses work-order actions
facility-mobile/src/screens/manager/ManagerInProgressScreen.js - Employee roster → Mobile complaint state: uses staff actions
facility-mobile/src/screens/manager/ManagerEmployeesScreen.js - Mobile manager merge → Express API: uses API