How rajbhokare/sevaconnect-sih-2026 works
SevaConnect is a cooperative-owned marketplace connecting customers with independent service workers, with cooperative operations for verification, fairness, and demand planning. The main customer journey is service discovery or emergency request, provider selection, booking, and payment; workers manage requests and profiles, while cooperatives oversee workforce operations and provider ranking. The frontend, Express API, Python AI service, and shared state form the main layers. Several UI and controller implementations were not sampled, so those branches reflect documented capabilities and indexed references rather than inspected call details.
Main entry points: server.js Express API server · App.jsx Role-based app · api.js API client · main.py Python AI service
Components 26
Marketplace clients
- Role-based app
frontend/src/App.jsx - Service discovery
frontend/src/pages/customer/ServiceDiscovery.jsx - Emergency booking
frontend/src/pages/customer/EmergencyBooking.jsx - Customer bookings
frontend/src/pages/customer/CustomerBookings.jsx - Worker dashboard
frontend/src/pages/worker/WorkerDashboard.jsx - Worker welfare
frontend/src/pages/worker/WorkerWelfare.jsx - AI operations hub
frontend/src/pages/cooperative/AiOperations.jsx - Federation dashboard
frontend/src/pages/cooperative/FederationDashboard.jsx - API client
frontend/src/services/api.js
Marketplace API
- Express API server
backend/server.js - Authentication
backend/controllers/authController.js - Worker profiles
backend/controllers/workerController.js - Booking management
backend/controllers/bookingController.js - FairMatch allocation
backend/controllers/matchController.js - Payments
backend/controllers/paymentController.js - Ratings and reviews
backend/controllers/ratingController.js - Provider ranking
backend/controllers/rankingController.js - AI proxy
backend/routes/aiProxyRoutes.js
AI operations
- Python AI service
ai/main.py - AI ranking engine
ai/ranking.py - Demand forecasting
ai/forecast.py - Workforce planning
ai/allocation.py
Marketplace state
- Demo state store
backend/config/store.js - MongoDB
Other components
- Customer
- Cooperative coordinator
Connections 35
- Customer → Role-based app: uses
README.md - Cooperative coordinator → Role-based app: uses
README.md - Role-based app → Service discovery: routes to
frontend/src/App.jsx - Role-based app → Emergency booking: routes to
frontend/src/App.jsx - Role-based app → Customer bookings: routes to
frontend/src/App.jsx - Role-based app → Worker dashboard: routes to
frontend/src/App.jsx - Role-based app → AI operations hub: routes to
frontend/src/App.jsx - Role-based app → Federation dashboard: routes to
frontend/src/App.jsx - Service discovery → API client: requests data
frontend/src/pages/customer/ServiceDiscovery.jsx - Service discovery → Booking management: starts booking
README.md - Emergency booking → Booking management: requests service
README.md - Customer bookings → API client: loads bookings
README.md - Worker dashboard → API client: loads work
frontend/src/pages/worker/WorkerDashboard.jsx - Worker welfare → API client: loads welfare
README.md - AI operations hub → API client: requests operations
README.md - API client → Express API server: calls API
README.md - Express API server → Authentication: mounts routes
backend/server.js - Express API server → Worker profiles: mounts routes
backend/server.js - Express API server → Booking management: mounts routes
backend/server.js - Express API server → FairMatch allocation: mounts routes
backend/server.js - Express API server → Payments: mounts routes
backend/server.js - Express API server → Ratings and reviews: mounts routes
backend/server.js - Express API server → Provider ranking: mounts routes
backend/server.js - Express API server → AI proxy: mounts routes
backend/server.js - Booking management → Demo state store: reads and writes
backend/controllers/bookingController.js - Worker profiles → Demo state store: reads and writes
backend/controllers/workerController.js - Authentication → Demo state store: reads users
backend/controllers/authController.js - Payments → Demo state store: reads and writes
backend/controllers/paymentController.js - Provider ranking → Demo state store: reads and updates
backend/controllers/rankingController.js - Provider ranking → Python AI service: requests ranking
backend/controllers/rankingController.js - AI proxy → Python AI service: proxies requests
backend/routes/aiProxyRoutes.js - Python AI service → AI ranking engine: uses
ai/main.py - Python AI service → Demand forecasting: uses
ai/main.py - Python AI service → Workforce planning: uses
ai/main.py - Express API server → MongoDB: connects
backend/server.js