How varshi072006/sih- works
Challenge to Impact is a civic problem-solving platform connecting citizens, government, universities, and industry. The main workflow runs from citizen problem submission and evidence, through government verification and ownership, AI decision support, university review, and industry participation in implementation; public pages expose problems and projects. Admin, identity, messaging, files, and live collaboration support that loop. The README documents the wider capabilities; sampled source confirms application setup, authentication, AI analysis, and file persistence, but not every router’s internal calls.
Main entry points: api.js HTTP client · App.jsx React app · pipeline.py Analysis pipeline · AuthContext.jsx Login and registration
Components 34
User experience
- React app
frontend/src/App.jsx - Login and registration
frontend/src/context/AuthContext.jsx - Citizen portal
frontend/src/pages/citizen/SubmitProblemPage.jsx - Government portal
frontend/src/pages/government/GovernmentPortal.jsx - University portal
frontend/src/pages/university/UniversityPortal.jsx - Industry portal
frontend/src/pages/industry/IndustryPortal.jsx - Public discovery
frontend/src/pages/public/ProblemsPage.jsx - Admin portal
frontend/src/pages/admin/AdminPortal.jsx - HTTP client
frontend/src/services/api.js
Problem-solving workflow
- Identity API
backend/app/api/auth.py - Problem reports
backend/app/api/problems.py - Government actions
backend/app/api/government.py - AI recommendations
backend/app/api/ai.py - Analysis pipeline
backend/app/ai/pipeline.py - Classification
backend/app/ai/classification_service.py - Priority scoring
backend/app/ai/priority_service.py - University matching
backend/app/ai/university_matching_service.py - University review
backend/app/api/university.py - Industry proposals
backend/app/api/industry.py - Projects and milestones
backend/app/api/projects.py
Collaboration and oversight
- Public information
backend/app/api/public.py - Administration
backend/app/api/admin.py - Messages and notices
backend/app/api/comms.py - AI assistant
backend/app/api/assistant.py - Live events
backend/app/api/ws.py - Live client
frontend/src/services/collaborationSocket.js
Platform services
- Evidence files
backend/app/api/files.py - File storage
backend/app/services/storage.py - Audit trail
backend/app/services/audit.py
Other components
- Citizen
- Government
- University
- Industry
- Admin
Connections 39
- Citizen → React app: uses
- Government → React app: uses
- University → React app: uses
- Industry → React app: uses
- Admin → React app: uses
- React app → Login and registration: routes
- React app → Citizen portal: routes
- React app → Government portal: routes
- React app → University portal: routes
- React app → Industry portal: routes
- React app → Public discovery: routes
- React app → Admin portal: routes
- Login and registration → HTTP client: requests
- Citizen portal → HTTP client: requests
- Government portal → HTTP client: requests
- University portal → HTTP client: requests
- Industry portal → HTTP client: requests
- Public discovery → HTTP client: requests
- Admin portal → HTTP client: requests
- HTTP client → Identity API: HTTP requests
- HTTP client → Problem reports: HTTP requests
- HTTP client → Government actions: HTTP requests
- HTTP client → AI recommendations: HTTP requests
- HTTP client → University review: HTTP requests
- HTTP client → Industry proposals: HTTP requests
- HTTP client → Projects and milestones: HTTP requests
- HTTP client → Public information: HTTP requests
- HTTP client → Administration: HTTP requests
- HTTP client → Messages and notices: HTTP requests
- HTTP client → AI assistant: HTTP requests
- HTTP client → Evidence files: HTTP requests
- Problem reports → Analysis pipeline: analysis
- AI recommendations → Analysis pipeline: analyses
- Analysis pipeline → Classification: classifies
- Analysis pipeline → Priority scoring: scores priority
- Analysis pipeline → University matching: matches institutions
- HTTP client → Live client: separate channel
- Live client → Live events: socket events
- Evidence files → File storage: saves uploads