How foolish-wang/carsties works
• Frontend (Next.js Web App): Represents the user interface, handling routing, authentication via NextAuth, and real-time notifications (SignalR).
• API Gateway: Acts as the entry point for client requests (using the GatewayService) and routes requests to the appropriate backend service.
– Auction Service: Manages auction listings and related operations.
– Bidding Service: Handles bids on auctions.
– Identity Service: Manages user authentication, registration, and identity tasks.
– Notification Service: Delivers real-time notifications (via SignalR) for events like auction updates.
– Search Service: Provides search functionality for auctions.
• Messaging Bus: Represent RabbitMQ/MassTransit as a central communication component between microservices.
• Nginx: Place a small component for reverse proxy that directs traffic to the Frontend and Gateway.
– Connect each microservice to its respective database where applicable.
Architectural Patterns & Key Technologies
• Microservice Architecture: Illustrate each backend component as an independent service communicating through a message broker (RabbitMQ/MassTransit).
• Authentication: Emphasize the Identity Service and NextAuth integration within the Frontend.
• Real-Time Communication: Indicate the Notification Service’s use of SignalR for live updates.