How thameem005/govasisst works
GovAssist helps people find government schemes and scholarships, check eligibility, and manage saved or tracked applications. The main journey runs from the React app through its API client to Spring REST controllers and persistence; authentication and admin management are separate branches. The README documents search, filtering, and admin capabilities beyond the sampled excerpts, so those are represented at subsystem level. Several controller implementations and database wiring were not sampled; uncertain links are omitted rather than inferred.
Main entry points: App.tsx Routes and shell · api.ts API client · entity Domain entities · AdminController.java Scheme management
Components 22
Web application
- Routes and shell
src/App.tsx - Login and registration
src/pages/RegisterPage.tsx - Scheme and scholarship discovery
src/pages/SchemeFinderPage.tsx - Eligibility checker
src/pages/AIEligibilityPage.tsx - Chat assistant
src/components/AIChatbot.tsx - Dashboard and profile
src/pages/DashboardPage.tsx - Application tracking
src/pages/ApplicationTrackerPage.tsx - Admin dashboard
src/pages/AdminDashboardPage.tsx - Auth and preferences
src/context/AuthContext.tsx - API client
src/services/api.ts
REST services
- Authentication
backend/src/main/java/com/govassist/controller/AuthController.java - Eligibility matching
backend/src/main/java/com/govassist/controller/EligibilityController.java - Chat endpoint
backend/src/main/java/com/govassist/controller/ChatbotController.java - Scheme management
backend/src/main/java/com/govassist/controller/AdminController.java - Other REST features
backend/src/main/java/com/govassist/controller
Domain and persistence
- User repository
backend/src/main/java/com/govassist/repository/UserRepository.java - Scheme repository
backend/src/main/java/com/govassist/repository/SchemeRepository.java - Scholarship repository
backend/src/main/java/com/govassist/repository/ScholarshipRepository.java - Tracking repository
backend/src/main/java/com/govassist/repository/ApplicationTrackingRepository.java - Domain entities
backend/src/main/java/com/govassist/entity
Other components
- Citizen or admin
- MySQL database
Connections 31
- Citizen or admin → Routes and shell: uses
src/App.tsx - Routes and shell → Login and registration: routes to
src/App.tsx - Routes and shell → Scheme and scholarship discovery: routes to
src/App.tsx - Routes and shell → Eligibility checker: routes to
src/App.tsx - Routes and shell → Dashboard and profile: protects route
src/App.tsx - Routes and shell → Application tracking: protects route
src/App.tsx - Routes and shell → Admin dashboard: protects route
src/App.tsx - Routes and shell → Chat assistant: renders
src/App.tsx - Routes and shell → Auth and preferences: provides state
src/App.tsx - Login and registration → Auth and preferences: updates session
src/pages/RegisterPage.tsx - Login and registration → API client: requests auth
src/pages/RegisterPage.tsx - Scheme and scholarship discovery → API client: requests listings
src/pages/SchemeFinderPage.tsx - Eligibility checker → API client: checks eligibility
src/pages/AIEligibilityPage.tsx - Chat assistant → API client: sends prompt
src/components/AIChatbot.tsx - Admin dashboard → API client: manages records
src/pages/AdminDashboardPage.tsx - API client → Authentication: calls REST
src/services/api.ts - API client → Eligibility matching: calls REST
src/services/api.ts - API client → Chat endpoint: calls REST
src/services/api.ts - Authentication → User repository: reads and saves
backend/src/main/java/com/govassist/controller/AuthController.java - Eligibility matching → Scheme repository: queries matches
backend/src/main/java/com/govassist/controller/EligibilityController.java - Eligibility matching → Domain entities: uses profile and scheme
backend/src/main/java/com/govassist/controller/EligibilityController.java - Chat endpoint → Domain entities: uses scheme
backend/src/main/java/com/govassist/controller/ChatbotController.java - Scheme management → User repository: reads and writes
backend/src/main/java/com/govassist/controller/AdminController.java - Scheme management → Scheme repository: reads and writes
backend/src/main/java/com/govassist/controller/AdminController.java - Scheme management → Scholarship repository: reads and writes
backend/src/main/java/com/govassist/controller/AdminController.java - Scheme management → Tracking repository: counts records
backend/src/main/java/com/govassist/controller/AdminController.java - User repository → Domain entities: persists users
backend/src/main/java/com/govassist/repository/UserRepository.java - Scheme repository → Domain entities: persists schemes
backend/src/main/java/com/govassist/repository/SchemeRepository.java - Scholarship repository → Domain entities: persists scholarships
backend/src/main/java/com/govassist/repository/ScholarshipRepository.java - Tracking repository → Domain entities: persists tracking
backend/src/main/java/com/govassist/repository/ApplicationTrackingRepository.java - Domain entities → MySQL database: stored in
README.md