How titarek/diu-nest works
DIU-NEST is a React hall-information and seat-application portal for DIU students. The visible user journey is to browse hall and process information, inspect available hall details, then move to login or registration; the landing page also provides sample application tracking. The repository includes mock application, payment, request, cycle, audit, and hall state plus seat-map UI, but the sampled app does not wire those into its public page tree. The graph reflects those separate capabilities without assuming persistence or a backend; unsampled feature connections are omitted.
Main entry points: App.jsx Public app router · LandingPage.jsx Landing and tracking · ApplicationContext.jsx Application state/actions · Badge.jsx Status badge
Components 25
Public portal
- Public app router
src/App.jsx - Landing and tracking
src/pages/public/LandingPage.jsx - Hall directory
src/pages/public/HallInfoPage.jsx - About page
src/pages/public/AboutPage.jsx - Process guide
src/pages/public/HowItWorksPage.jsx - FAQ
src/pages/public/FaqPage.jsx - Contact page
src/pages/public/ContactPage.jsx - Login
src/pages/public/LoginPage.jsx - Registration
src/pages/public/RegisterPage.jsx
Application state
- Application state/actions
src/context/ApplicationContext.jsx - Applications and status
src/data/mockApplications.js - Application cycles
src/data/mockCycles.js - Payment records
src/data/mockPayments.js - Requests and notices
src/data/mockRequests.js - Audit log data
src/data/mockAuditLogs.js - Authentication context
src/context/AuthContext.jsx - Mock users
src/data/mockUsers.js
Hall operations
- Hall inventory data
src/data/mockHalls.js - Visual seat map
src/components/specific/VisualSeatMap.jsx
Shared UI and feedback
- Toast feedback
src/context/ToastContext.jsx - Status badge
src/components/common/Badge.jsx - Button
src/components/common/Button.jsx - Card
src/components/common/Card.jsx - Modal
src/components/common/Modal.jsx
Other components
- Student / visitor
Connections 48
- Student / visitor → Public app router: visits
src/App.jsx - Public app router → Landing and tracking: routes to
src/App.jsx - Public app router → Hall directory: routes to
src/App.jsx - Public app router → About page: routes to
src/App.jsx - Public app router → Process guide: routes to
src/App.jsx - Public app router → FAQ: routes to
src/App.jsx - Public app router → Contact page: routes to
src/App.jsx - Public app router → Login: routes to
src/App.jsx - Public app router → Registration: routes to
src/App.jsx - Public app router → Toast feedback: provides
src/App.jsx - Landing and tracking → Hall inventory data: reads
src/pages/public/LandingPage.jsx - Landing and tracking → Applications and status: reads sample tracking
src/pages/public/LandingPage.jsx - Hall directory → Hall inventory data: reads
src/pages/public/HallInfoPage.jsx - Application state/actions → Hall inventory data: loads
src/context/ApplicationContext.jsx - Application state/actions → Applications and status: loads
src/context/ApplicationContext.jsx - Application state/actions → Application cycles: loads
src/context/ApplicationContext.jsx - Application state/actions → Payment records: loads
src/context/ApplicationContext.jsx - Application state/actions → Requests and notices: loads
src/context/ApplicationContext.jsx - Application state/actions → Audit log data: loads
src/context/ApplicationContext.jsx - Authentication context → Mock users: loads
src/context/AuthContext.jsx - Visual seat map → Application state/actions: uses actions
src/components/specific/VisualSeatMap.jsx - Visual seat map → Toast feedback: uses feedback
src/components/specific/VisualSeatMap.jsx - Visual seat map → Status badge: renders
src/components/specific/VisualSeatMap.jsx - Visual seat map → Button: renders
src/components/specific/VisualSeatMap.jsx - Visual seat map → Modal: renders
src/components/specific/VisualSeatMap.jsx - About page → Card: renders
src/pages/public/AboutPage.jsx - About page → Status badge: renders
src/pages/public/AboutPage.jsx - About page → Button: renders
src/pages/public/AboutPage.jsx - Process guide → Card: renders
src/pages/public/HowItWorksPage.jsx - Process guide → Status badge: renders
src/pages/public/HowItWorksPage.jsx - Process guide → Button: renders
src/pages/public/HowItWorksPage.jsx - Hall directory → Status badge: renders
src/pages/public/HallInfoPage.jsx - Hall directory → Button: renders
src/pages/public/HallInfoPage.jsx - Hall directory → Modal: renders
src/pages/public/HallInfoPage.jsx - Contact page → Toast feedback: uses feedback
src/pages/public/ContactPage.jsx - Contact page → Card: renders
src/pages/public/ContactPage.jsx - Contact page → Button: renders
src/pages/public/ContactPage.jsx - Contact page → Status badge: renders
src/pages/public/ContactPage.jsx - FAQ → Status badge: renders
src/pages/public/FaqPage.jsx - Login → Toast feedback: uses feedback
src/pages/public/LoginPage.jsx - Login → Button: renders
src/pages/public/LoginPage.jsx - Login → Status badge: renders
src/pages/public/LoginPage.jsx - Registration → Toast feedback: uses feedback
src/pages/public/RegisterPage.jsx - Registration → Button: renders
src/pages/public/RegisterPage.jsx - Landing and tracking → Button: renders
src/pages/public/LandingPage.jsx - Landing and tracking → Status badge: renders
src/pages/public/LandingPage.jsx - Landing and tracking → Card: renders
src/pages/public/LandingPage.jsx - Landing and tracking → Modal: renders
src/pages/public/LandingPage.jsx