How balajiallamsetty/cuda works
Vignak Solutions combines a public services site, customer portal, staff CRM/CMS, and REST API. The principal customer workflow is discovering a service, registering or signing in, submitting a service request, then following its project, quotation, payment, and deliverable status. Staff manage requests and related operations through permission-controlled admin routes. The README identifies MongoDB and the product capabilities; sampled routes and controller excerpts show key dispatches. Unsampled subsystem links are omitted where their callers were not shown.
Main entry points: app.js REST API · AppRoutes.jsx Page routing · adminRoutes.js Admin routes · App.jsx React application
Components 21
Public and customer web
- React application
client/src/App.jsx - Page routing
client/src/routes/AppRoutes.jsx - Service catalog UI
client/src/pages/ServicesCatalogPage.jsx - Request form
client/src/components/forms/ServiceRequestForm.jsx - Customer portal
client/src/pages/dashboard - Admin CRM / CMS
client/src/pages/admin - Client auth state
client/src/context/AuthContext.jsx - API client
client/src/services/api.js
API and identity
- REST API
server/src/app.js - Identity routes
server/src/routes/authRoutes.js - Admin routes
server/src/routes/adminRoutes.js - Authentication
server/src/services/authService.js - Auth and permissions
server/src/middleware/auth.js - MongoDB
server/src/config/db.js
Staff operations
- Admin controller
server/src/controllers/adminController.js
Service delivery
- Service workflow controller
server/src/controllers/ecosystemController.js - Workflow catalog
shared/serviceCatalog.js - Service requests
server/src/services/serviceRequestService.js - Delivery operations
server/src/services
Other components
- Visitor / customer
- Staff user
Connections 24
- Visitor / customer → React application: opens
- Staff user → React application: uses
- React application → Client auth state: provides auth
client/src/App.jsx - React application → Page routing: renders
client/src/App.jsx - Page routing → Service catalog UI: routes to
client/src/routes/AppRoutes.jsx - Visitor / customer → Service catalog UI: browses
- Service catalog UI → API client: fetches catalog
client/src/pages/ServicesCatalogPage.jsx - API client → REST API: HTTP requests
- Request form → API client: submits request
- Page routing → Customer portal: routes to
client/src/routes/AppRoutes.jsx - Page routing → Admin CRM / CMS: routes to
client/src/routes/AppRoutes.jsx - REST API → Identity routes: mounts routes
server/src/app.js - REST API → Admin routes: mounts routes
server/src/app.js - Identity routes → Authentication: handles identity
- Identity routes → Auth and permissions: authenticates
server/src/routes/authRoutes.js - Admin routes → Auth and permissions: authorizes
server/src/routes/adminRoutes.js - Admin routes → Admin controller: dispatches
server/src/routes/adminRoutes.js - Admin routes → Service workflow controller: dispatches
server/src/routes/adminRoutes.js - Service workflow controller → Service requests: calls
server/src/controllers/ecosystemController.js - Service workflow controller → Delivery operations: calls
server/src/controllers/ecosystemController.js - Workflow catalog → Service requests: defines workflows
- Customer portal → REST API: loads account data
- Admin CRM / CMS → REST API: admin requests
- REST API → MongoDB: persists data