How mostafahendy3/mvc_shopegypt works
ShopEgypt is an ASP.NET Core MVC storefront and admin application. The customer workflow runs from catalog browsing through cart, address and order confirmation, Stripe payment, and order history; reviews and wishlists are additional storefront capabilities. Admins manage catalog, orders, customers, categories, reviews, dashboard, and settings. The graph uses README statements and source-index references; unsampled subsystem internals are represented at their documented directory paths rather than inferred in detail.
Main entry points: ShopOrdersController.cs Checkout and orders · ApplicationDbContext.cs EF data context · ProductsController.cs Product browsing · AdminProductsController.cs Admin products
Components 29
Storefront
- Product browsing
ShopEgypt/Controllers/ProductsController.cs - Customer reviews
ShopEgypt/Controllers/ReviewsController.cs - Wishlist
ShopEgypt.Infrastructure/Services/WishlistItemService
Checkout and orders
- Cart
ShopEgypt/Controllers/Cart/CartController.cs - Checkout and orders
ShopEgypt/Controllers/ShopOrdersController.cs
Admin operations
- Admin products
ShopEgypt/Areas/Adminn/Controllers/AdminProductsController.cs - Admin reviews
ShopEgypt/Areas/Adminn/Controllers/AdminReviewsController.cs - Admin dashboard
ShopEgypt/Areas/Adminn/Controllers/DashboardController.cs - Admin orders
ShopEgypt/Areas/Adminn/Controllers/OrderController.cs - Customer administration
ShopEgypt/Areas/Adminn/Controllers/CustomersController.cs - Category administration
ShopEgypt/Areas/Adminn/Controllers/AdminCategoriesController.cs - Store settings
ShopEgypt/Areas/Adminn/Controllers/SettingsController.cs
Application services
- Product catalog
ShopEgypt.Infrastructure/Services/ProductService/ProductService.cs - Categories
ShopEgypt.Infrastructure/Services/CategoryService - Review management
ShopEgypt.Infrastructure/Services/ReviewService/ReviewService.cs - Cart operations
ShopEgypt.Infrastructure/Services/CartService - Addresses
ShopEgypt.Infrastructure/Services/AddressService - Order processing
ShopEgypt.Infrastructure/Services/OrderService/OrderService.cs - Stripe payments
ShopEgypt.Infrastructure/ExternalServices/StripeService/StripeService.cs - Unit of Work
ShopEgypt.Infrastructure/UnitOfWork/UnitOfWork.cs - Image storage
ShopEgypt.Infrastructure/Services/CloudinaryService/CloudinaryImageStorageService.cs
Persistence and identity
- Identity accounts
ShopEgypt/Areas/Identity - EF data context
ShopEgypt.Infrastructure/Data/Context/ApplicationDbContext.cs
Other components
- Customer
- Admin
- Stripe
- SQL Server
- Cloudinary images
- SendGrid email
Connections 35
- Customer → Product browsing: browses
- Product browsing → Product catalog: requests catalog
ShopEgypt/Controllers/ProductsController.cs - Product browsing → Categories: loads categories
ShopEgypt/Controllers/ProductsController.cs - Customer → Cart: manages cart
- Cart → Cart operations: updates cart
ShopEgypt/Controllers/Cart/CartController.cs - Customer → Checkout and orders: checks out
- Checkout and orders → Addresses: handles address
ShopEgypt/Controllers/ShopOrdersController.cs - Checkout and orders → Cart operations: uses cart
ShopEgypt/Controllers/ShopOrdersController.cs - Checkout and orders → Order processing: creates order
ShopEgypt/Controllers/ShopOrdersController.cs - Checkout and orders → Stripe payments: starts payment
- Stripe payments → Stripe: creates intent
ShopEgypt.Infrastructure/ExternalServices/StripeService/StripeService.cs - Checkout and orders → Customer: confirms order
- Customer → Customer reviews: reviews products
- Customer reviews → Review management: manages reviews
ShopEgypt/Controllers/ReviewsController.cs - Customer → Wishlist: manages wishlist
- Admin → Admin products: manages products
- Admin products → Product catalog: edits catalog
ShopEgypt/Areas/Adminn/Controllers/AdminProductsController.cs - Admin → Admin reviews: moderates reviews
- Admin reviews → Review management: loads reviews
ShopEgypt/Areas/Adminn/Controllers/AdminReviewsController.cs - Admin → Admin dashboard: views dashboard
- Admin → Admin orders: manages orders
- Admin → Customer administration: manages customers
- Admin → Category administration: manages categories
- Admin → Store settings: updates settings
- Customer → Identity accounts: authenticates
- Identity accounts → Cart operations: merges session cart
- Product catalog → EF data context: queries catalog
ShopEgypt.Infrastructure/Services/ProductService/ProductService.cs - Review management → EF data context: reads and writes
ShopEgypt.Infrastructure/Services/ReviewService/ReviewService.cs - Order processing → Unit of Work: uses repositories
ShopEgypt.Infrastructure/Services/OrderService/OrderService.cs - Unit of Work → EF data context: persists changes
ShopEgypt.Infrastructure/UnitOfWork/UnitOfWork.cs - EF data context → SQL Server: stores records
- Admin dashboard → EF data context: queries metrics
ShopEgypt/Areas/Adminn/Controllers/DashboardController.cs - Admin products → Image storage: uploads images
- Image storage → Cloudinary images: stores images
- Identity accounts → SendGrid email: sends email