How dimaakk1/autoservicemicroservices works
This repository implements an auto-service booking and management platform: customers browse services, manage vehicles, book work, pay, and review completed orders; administrators and mechanics have separate workflows. A React frontend talks to a collection of .NET services, with aggregation supporting review/order views. The tree also includes AI diagnostics and event-driven notification services. The README is empty, and source excerpts are limited, so some subsystem links are omitted rather than inferred.
Main entry points: App.tsx Route and access shell · AggregationService.cs Order-review aggregation · api.ts HTTP client · AdminServices.tsx Service administration
Components 23
Customer and staff UI
- Route and access shell
src/Frontend/src/App.tsx - Booking and bookings
src/Frontend/src/pages/Booking.tsx - Service discovery
src/Frontend/src/pages/Services.tsx - Service administration
src/Frontend/src/pages/admin/AdminServices.tsx - Review experience
src/Frontend/src/pages/Reviews.tsx - Order administration
src/Frontend/src/pages/admin/AdminOrders.tsx - User administration
src/Frontend/src/pages/admin/AdminUsers.tsx - Mechanic dashboard
src/Frontend/src/pages/mechanic/MechanicDashboard.tsx - Session state
src/Frontend/src/lib/auth-context.tsx - HTTP client
src/Frontend/src/api/api.ts
Booking and catalog
- Orders and payments
src/Services/Orders/BLL/Services/OrderService.cs - Parts and catalog
src/Services/Catalog/BLL/Services/PartService.cs
Identity and vehicles
- Authentication and users
src/Services/Users/BLL/Services/AuthService.cs - Vehicle registry
src/Services/Vehicles/BLL/Services/VehicleService.cs - VIN decoding
src/Services/Vehicles/BLL/Services/NhtsaVinDecoderService.cs
Reviews and aggregation
- Review API
src/Services/Reviews/API/Controllers/ReviewsController.cs - Review query handlers
src/Services/Reviews/Application/Handlers/GetReviewsByOrderIdQueryHandler.cs - Review repository
src/Services/Reviews/Infrastructure/Repositories/ReviewRepository.cs - Order-review aggregation
src/Aggregator/Services/AggregationService.cs - Aggregation endpoint
src/Aggregator/Controllers/AggregationController.cs
AI and notifications
- AI diagnostics
src/Services/AI/BLL/Services/AIDiagnostService.cs - Order notifications
src/Services/Notifications/OrderCreatedConsumer.cs
Other components
- Customer or staff
Connections 20
- Customer or staff → Route and access shell: uses
src/Frontend/src/App.tsx - Route and access shell → Booking and bookings: routes to
src/Frontend/src/App.tsx - Route and access shell → Review experience: routes to
src/Frontend/src/App.tsx - Route and access shell → Order administration: routes to
src/Frontend/src/App.tsx - Route and access shell → User administration: routes to
src/Frontend/src/App.tsx - Route and access shell → Service administration: routes to
src/Frontend/src/App.tsx - Route and access shell → Mechanic dashboard: routes to
src/Frontend/src/App.tsx - Route and access shell → Session state: provides session
src/Frontend/src/App.tsx - Session state → HTTP client: requests profile
src/Frontend/src/lib/auth-context.tsx - Review experience → HTTP client: loads data
src/Frontend/src/pages/Reviews.tsx - Service discovery → HTTP client: requests services
src/Frontend/src/pages/Services.tsx - Service administration → HTTP client: manages services
src/Frontend/src/pages/admin/AdminServices.tsx - Review API → Review query handlers: dispatches queries
src/Services/Reviews/API/Controllers/ReviewsController.cs - Review query handlers → Review repository: reads reviews
src/Services/Reviews/Application/Handlers/GetReviewsByOrderIdQueryHandler.cs - Aggregation endpoint → Order-review aggregation: delegates
src/Aggregator/Controllers/AggregationController.cs - Order-review aggregation → Orders and payments: reads orders
src/Aggregator/Services/AggregationService.cs - Order-review aggregation → Authentication and users: reads users
src/Aggregator/Services/AggregationService.cs - Order-review aggregation → Review API: combines reviews
- Orders and payments → Order notifications: publishes events
- Vehicle registry → VIN decoding: uses decoder