How sanjeev662/visitor-management-system-react works
This is a React Visitor Management System for administrators, receptionists, and guards. The principal workflow is authenticated role-based navigation into visitor registration and lookup, then pass creation and viewing; guards separately receive visitor-verification updates. Dashboard, reports, user administration, and gadget configuration are major supporting capabilities. The graph uses the supplied route and call excerpts plus README capabilities; unsampled subsystem internals and several backend interactions are not inferred.
Main entry points: App.js Role-based router · configure Gadget configuration · visitor Visitor management · CreateNewPass.jsx Pass creation
Components 24
Access and shell
- Role-based router
src/App.js - Session context
src/context/UserContext.jsx - Login and FAQ
src/views/auth/Login.jsx
Visitor operations
- Visitor management
src/views/visitor - Visitor forms
src/views/visitor - Pass management
src/views/pass/Passes.jsx - Pass creation
src/views/pass/CreateNewPass.jsx - Pass display
src/views/pass/ViewPass.jsx - Guard verification
src/views/guard/index.jsx
Administration
- Dashboard
src/views/dashboard/Dashboard.jsx - User management
src/views/user - Reports
src/views/report/index.jsx - Gadget configuration
src/views/configure - Adam gadgets
src/views/configure/adam - RFID keys
src/views/configure/key/Keys.jsx - Readers
src/views/configure/reader - Zones
src/views/configure/zone/Zones.jsx - Guard-reader mapping
src/views/configure/map-guard/GuardReaderMappings.jsx
Capture integrations
- Webcam capture
src/components/camera/index.jsx - Signature capture
src/components/SignatureCapture/SignatureCapture.jsx - SignoTech pad library
src/components/SignatureCapture/STPadServerLib-3.3.0.js
Other components
- Staff user
- VMS API
- Visitor event service
Connections 26
- Staff user → Role-based router: uses
README.md - Role-based router → Session context: provides context
src/App.js - Role-based router → Login and FAQ: routes to
src/App.js - Role-based router → Dashboard: routes to
src/App.js - Role-based router → Visitor management: routes to
src/App.js - Role-based router → Pass management: routes to
src/App.js - Role-based router → Gadget configuration: routes to
src/App.js - Role-based router → Guard verification: routes to
src/App.js - Role-based router → Reports: routes to
src/App.js - Role-based router → User management: routes to
src/App.js - Visitor management → VMS API: fetches visitor list
src/views/visitor/index.jsx - Visitor management → Visitor forms: renders forms
src/views/visitor/index.jsx - Visitor management → Pass creation: opens pass creation
src/views/visitor/index.jsx - Pass management → Pass display: renders pass view
src/views/pass/Passes.jsx - Pass creation → VMS API: creates pass
src/views/pass/CreateNewPass.jsx - Pass creation → VMS API: loads keys and zones
src/views/pass/CreateNewPass.jsx - Pass creation → Pass display: shows created pass
src/views/pass/CreateNewPass.jsx - Guard verification → Visitor event service: receives visitor updates
- Visitor forms → Webcam capture: captures images
src/views/visitor/UpdateVisitor.jsx - Visitor forms → Signature capture: captures signatures
README.md - Signature capture → SignoTech pad library: uses pad library
src/components/SignatureCapture/SignatureCapture.jsx - Gadget configuration → Adam gadgets: renders section
src/views/configure/index.jsx - Gadget configuration → RFID keys: renders section
src/views/configure/index.jsx - Gadget configuration → Readers: renders section
src/views/configure/index.jsx - Gadget configuration → Zones: renders section
src/views/configure/index.jsx - Gadget configuration → Guard-reader mapping: renders section
src/views/configure/index.jsx