How jaivignesh-r/yhack-26 works
This is a full-stack single-window licensing and compliance platform. Businesses authenticate, maintain a profile, discover applicable approvals and dependencies, submit applications and documents, then track scrutiny, inspections, certificates, renewals and grievances. Officers review and inspect cases; administrators configure departments, rules and dependencies and monitor performance. The graph preserves these documented capabilities. Source excerpts and index support the principal API wiring; some client feature pages and controller internals were not sampled, so those relationships are omitted where not evidenced.
Main entry points: App.jsx Web application · index.js HTTP API · auth.js JWT and role access · db.js Platform data
Components 27
Web experience
- Web application
client/src/App.jsx - Session and identity
client/src/context/AuthContext.jsx - Business services UI
client/src/pages/business - Officer desk
client/src/pages/officer - Admin console
client/src/pages/admin
API and access
- HTTP API
server/src/index.js - Authentication routes
server/src/routes/authRoutes.js - Authentication service
server/src/controllers/authController.js - JWT and role access
server/src/middleware/auth.js - Compliance routes
server/src/routes/complianceRoutes.js - Application routes
server/src/routes/applicationRoutes.js - Officer routes
server/src/routes/officerRoutes.js - Admin routes
server/src/routes/adminRoutes.js - Grievance routes
server/src/routes/grievanceRoutes.js
Business approvals
- Profile and approvals
server/src/controllers/complianceController.js - Approval rules and risk
server/src/services/ruleEngine.js - Dependency roadmap
server/src/services/dependencyEngine.js - Application filing
server/src/controllers/applicationController.js - Document checks
server/src/services/documentValidator.js - Certificates and renewal
server/src/controllers/complianceController.js
Government operations
- Review and inspections
server/src/controllers/officerController.js - Grievance handling
server/src/controllers/grievanceController.js - Configuration and analytics
server/src/controllers/adminController.js
Platform data and logic
- Platform data
server/src/config/db.js
Other components
- Business user
- Government officer
- Platform admin
Connections 42
- Business user → Web application: uses
client/src/App.jsx - Government officer → Web application: uses
client/src/App.jsx - Platform admin → Web application: uses
client/src/App.jsx - Web application → Session and identity: provides session
client/src/App.jsx - Session and identity → Authentication routes: requests login and session
client/src/context/AuthContext.jsx - Web application → Business services UI: routes business users
client/src/App.jsx - Web application → Officer desk: routes officers
client/src/App.jsx - Web application → Admin console: routes administrators
client/src/App.jsx - Business services UI → Compliance routes: calls compliance API
- Business services UI → Application routes: calls application API
- Officer desk → Officer routes: calls officer API
- Officer desk → Grievance routes: calls grievance API
- Admin console → Admin routes: calls admin API
client/src/pages/admin/AdminRuleEnginePage.jsx - HTTP API → Authentication routes: mounts
server/src/index.js - HTTP API → Compliance routes: mounts
server/src/index.js - HTTP API → Application routes: mounts
server/src/index.js - HTTP API → Officer routes: mounts
server/src/index.js - HTTP API → Grievance routes: mounts
server/src/index.js - HTTP API → Admin routes: mounts
server/src/index.js - Authentication routes → Authentication service: routes to
server/src/routes/authRoutes.js - Authentication routes → JWT and role access: applies authentication
server/src/routes/authRoutes.js - Compliance routes → Profile and approvals: routes to
server/src/routes/complianceRoutes.js - Compliance routes → JWT and role access: applies authentication
server/src/routes/complianceRoutes.js - Application routes → Application filing: routes to
server/src/routes/applicationRoutes.js - Application routes → JWT and role access: applies authentication
server/src/routes/applicationRoutes.js - Officer routes → Review and inspections: routes to
server/src/routes/officerRoutes.js - Officer routes → JWT and role access: applies access control
server/src/routes/officerRoutes.js - Admin routes → Configuration and analytics: routes to
server/src/routes/adminRoutes.js - Admin routes → JWT and role access: requires admin role
server/src/routes/adminRoutes.js - Grievance routes → Grievance handling: routes to
server/src/routes/grievanceRoutes.js - Grievance routes → JWT and role access: applies authentication
server/src/routes/grievanceRoutes.js - Profile and approvals → Approval rules and risk: evaluates approvals
server/src/controllers/complianceController.js - Profile and approvals → Dependency roadmap: builds roadmap
server/src/controllers/complianceController.js - Application filing → Approval rules and risk: uses approval rules
server/src/controllers/applicationController.js - Application filing → Document checks: validates evidence
server/src/controllers/applicationController.js - Review and inspections → Certificates and renewal: issues licences
server/src/controllers/officerController.js - Authentication service → Platform data: reads and writes
server/src/controllers/authController.js - Profile and approvals → Platform data: reads and writes
server/src/controllers/complianceController.js - Application filing → Platform data: reads and writes
server/src/controllers/applicationController.js - Review and inspections → Platform data: reads and writes
server/src/controllers/officerController.js - Grievance handling → Platform data: reads and writes
server/src/controllers/grievanceController.js - Configuration and analytics → Platform data: reads and writes
server/src/controllers/adminController.js