How amruthalokesh-source/infosys_project works
FixItNow is a local-services marketplace: customers discover providers and request bookings; providers manage offers and bookings; administrators approve providers and oversee activity. The React application routes users into role-specific portals, while a Spring Boot backend exposes marketplace and account capabilities. The sampled booking flow shows controller-to-service orchestration and repository access. Map search, chat, payments, disputes, and AI assistance are represented as capabilities, but their runtime wiring is not fully evidenced in the excerpts; those connections are omitted or marked unverified.
Main entry points: UserRepository.java User records · App.js Route application · BookingService.java Booking workflow · AdminController.java Administration API
Components 27
Web application
- Route application
frontend/fixitnow-frontend/src/App.js - Customer portal
frontend/fixitnow-frontend/src/pages/CustomerDashboard.js - Provider portal
frontend/fixitnow-frontend/src/pages/ProviderDashboard.js - Admin portal
frontend/fixitnow-frontend/src/pages/AdminDashboard.js - Map booking search
frontend/fixitnow-frontend/src/pages/MapBookingSearch.js - Map provider search
frontend/fixitnow-frontend/src/pages/MapProviderSearch.js - Service details
frontend/fixitnow-frontend/src/pages/ServiceDetail.js - Portal data state
frontend/fixitnow-frontend/src/state/AppDataContext.js - AI help widget
frontend/fixitnow-frontend/src/components/AiHelpWidget.js
Identity and access
- Local accounts
frontend/fixitnow-frontend/src/auth/localAuth.js - Authentication context
frontend/fixitnow-frontend/src/auth/AuthContext.js - Authentication API
backend/FixItNow/src/main/java/com/fixitnow/controller/AuthenticationController.java - Authentication service
backend/FixItNow/src/main/java/com/fixitnow/service/AuthenticationService.java - User details lookup
backend/FixItNow/src/main/java/com/fixitnow/security/CustomUserDetailsService.java
Marketplace operations
- Booking API
backend/FixItNow/src/main/java/com/fixitnow/controller/BookingController.java - Booking workflow
backend/FixItNow/src/main/java/com/fixitnow/service/BookingService.java - Service offers
backend/FixItNow/src/main/java/com/fixitnow/service/ServiceOfferService.java - Reviews and ratings
backend/FixItNow/src/main/java/com/fixitnow/service/ReviewService.java - Administration API
backend/FixItNow/src/main/java/com/fixitnow/controller/AdminController.java
Domain records
- User records
backend/FixItNow/src/main/java/com/fixitnow/repository/UserRepository.java - Booking records
backend/FixItNow/src/main/java/com/fixitnow/repository/BookingRepository.java - Service records
backend/FixItNow/src/main/java/com/fixitnow/repository/ServiceRepository.java - Review records
backend/FixItNow/src/main/java/com/fixitnow/repository/ReviewRepository.java - Booking entity
backend/FixItNow/src/main/java/com/fixitnow/model/Booking.java - Service entity
backend/FixItNow/src/main/java/com/fixitnow/model/Service.java - Review entity
backend/FixItNow/src/main/java/com/fixitnow/model/Review.java
Other components
- Marketplace user
Connections 28
- Marketplace user → Route application: opens
frontend/fixitnow-frontend/src/App.js - Route application → Customer portal: routes to
frontend/fixitnow-frontend/src/App.js - Route application → Provider portal: routes to
frontend/fixitnow-frontend/src/App.js - Route application → Admin portal: routes to
frontend/fixitnow-frontend/src/App.js - Booking API → Booking workflow: delegates
backend/FixItNow/src/main/java/com/fixitnow/controller/BookingController.java - Booking API → User records: resolves user
backend/FixItNow/src/main/java/com/fixitnow/controller/BookingController.java - Booking workflow → Booking records: reads and writes
backend/FixItNow/src/main/java/com/fixitnow/service/BookingService.java - Booking workflow → Service records: reads
backend/FixItNow/src/main/java/com/fixitnow/service/BookingService.java - Booking workflow → User records: reads
backend/FixItNow/src/main/java/com/fixitnow/service/BookingService.java - Booking records → Booking entity: persists
- Service records → Service entity: persists
- Service offers → Service records: reads and writes
backend/FixItNow/src/main/java/com/fixitnow/service/ServiceOfferService.java - Service offers → User records: reads
backend/FixItNow/src/main/java/com/fixitnow/service/ServiceOfferService.java - Reviews and ratings → Review records: reads and writes
backend/FixItNow/src/main/java/com/fixitnow/service/ReviewService.java - Reviews and ratings → User records: reads
backend/FixItNow/src/main/java/com/fixitnow/service/ReviewService.java - Review records → Review entity: persists
backend/FixItNow/src/main/java/com/fixitnow/repository/ReviewRepository.java - Administration API → User records: queries
backend/FixItNow/src/main/java/com/fixitnow/controller/AdminController.java - Administration API → Booking records: queries
backend/FixItNow/src/main/java/com/fixitnow/controller/AdminController.java - Administration API → Review records: queries
backend/FixItNow/src/main/java/com/fixitnow/controller/AdminController.java - Authentication context → Local accounts: uses
frontend/fixitnow-frontend/src/auth/AuthContext.js - User details lookup → User records: loads users
backend/FixItNow/src/main/java/com/fixitnow/security/CustomUserDetailsService.java - Customer portal → Map booking search: searches
- Customer portal → Service details: views services
- Provider portal → Map provider search: searches
- Service details → Portal data state: uses state
frontend/fixitnow-frontend/src/pages/ServiceDetail.js - AI help widget → Marketplace user: assists
- Authentication API → Authentication service: delegates
- Authentication service → User records: accesses