How hosam-sherif/depi-gp works
Mazaad is a B2B materials marketplace with forward and reverse auctions, company accounts, orders and payment processing. The main buyer workflow is to discover an approved listing, bid, and proceed through an order and payment; sellers create listings that require approval. Authentication and company verification support access to these workflows. The tree also shows inventory, chat, analytics, sales operations and notifications. Source excerpts confirm some service behavior, but the README is empty and many controller-to-service links are not shown, so those relationships are dashed and unverified.
Main entry points: AppDbContext.cs Application database · PaymentService.cs Payment processing · ListingService.cs Listing management · AuthService.cs Identity and profiles
Components 28
Marketplace auctions
- Listing API
Mazaad.API/Controllers/ListingController.cs - Listing management
Mazaad.Infrastructure/Services/ListingService.cs - Listings and bids
Mazaad.Domain/Models/Listings.cs - Bidding API
Mazaad.API/Controllers/BiddingController.cs - Bid processing
Mazaad.Infrastructure/Services/BiddingService.cs - Reverse auction API
Mazaad.API/Controllers/ReverseAuctionController.cs - Reverse auction workflow
Mazaad.Infrastructure/Services/ReverseAuctionService.cs - Reverse auction requests
Mazaad.Domain/Models/ReverseAuction.cs
Accounts and companies
- Authentication API
Mazaad.API/Controllers/AuthController.cs - Identity and profiles
Mazaad.Infrastructure/Services/Auth/AuthService.cs - Authentication contract
Mazaad.Application/Interfaces/Services/IAuthService.cs - Company registration and users
Mazaad.Infrastructure/Services/Auth - Company accounts
Mazaad.Domain/Models/Companies.cs
Orders and operations
- Inventory API
Mazaad.API/Controllers/InventoryController.cs - Inventory management
Mazaad.Infrastructure/Services/Inventory/InventoryService.cs - Order management
Mazaad.Infrastructure/Services/OrderService.cs - Payments API
Mazaad.API/Controllers/PaymentsController.cs - Payment processing
Mazaad.Infrastructure/Services/Payment/PaymentService.cs - Orders and payments
Mazaad.Domain/Models/Orders.cs - Application database
Mazaad.Infrastructure/Persistence/AppDbContext.cs
Realtime and insights
- Chat API and hub
Mazaad.API/Controllers/ChatController.cs - Chat messaging
Mazaad.Infrastructure/Services/ChatService.cs - Live auction hub
Mazaad.Infrastructure/Hubs/AuctionHub.cs - Analytics and sales insights
Mazaad.Infrastructure/Services/AnalyticsService.cs - Notifications
Mazaad.Infrastructure/Services/NotificationService.cs - Operation results
Mazaad.Application/Common/Result.cs
Other components
- Buyer or seller
- Paymob
Connections 33
- Buyer or seller → Listing API: browses listings
- Listing API → Listing management: delegates to
- Listing management → Application database: reads and writes
Mazaad.Infrastructure/Services/ListingService.cs - Listing management → Live auction hub: publishes auction events
Mazaad.Infrastructure/Services/ListingService.cs - Listing management → Listings and bids: manages listings
Mazaad.Infrastructure/Services/ListingService.cs - Buyer or seller → Bidding API: places bids
- Bidding API → Bid processing: delegates to
- Bid processing → Application database: persists bids
- Buyer or seller → Reverse auction API: submits purchase request
- Reverse auction API → Reverse auction workflow: delegates to
- Reverse auction workflow → Application database: reads and writes
Mazaad.Infrastructure/Services/ReverseAuctionService.cs - Reverse auction workflow → Reverse auction requests: manages requests
Mazaad.Infrastructure/Services/ReverseAuctionService.cs - Buyer or seller → Authentication API: authenticates
- Authentication API → Identity and profiles: delegates to
- Authentication API → Authentication contract: uses contract
Mazaad.API/Controllers/AuthController.cs - Identity and profiles → Application database: stores tokens and users
Mazaad.Infrastructure/Services/Auth/AuthService.cs - Identity and profiles → Operation results: returns results
Mazaad.Infrastructure/Services/Auth/AuthService.cs - Identity and profiles → Company registration and users: coordinates company access
- Company registration and users → Company accounts: manages accounts
Mazaad.Infrastructure/Services/Auth/AuthService.cs - Buyer or seller → Inventory API: manages inventory
- Inventory API → Inventory management: delegates to
- Inventory management → Application database: persists inventory
- Order management → Application database: manages orders
- Buyer or seller → Payments API: pays order
- Payments API → Payment processing: delegates to
- Payment processing → Application database: reads and writes
Mazaad.Infrastructure/Services/Payment/PaymentService.cs - Payment processing → Orders and payments: updates payment state
Mazaad.Infrastructure/Services/Payment/PaymentService.cs - Payment processing → Paymob: requests payment
- Payment processing → Notifications: sends notifications
- Buyer or seller → Chat API and hub: exchanges messages
- Chat API and hub → Chat messaging: delegates to
- Live auction hub → Bid processing: dispatches bids
- Analytics and sales insights → Application database: queries activity