How youssef-ashraf88/sello works
Sello is an ASP.NET Core e-commerce API. Customers authenticate, browse and manage products, maintain carts and addresses, submit reviews, and check out into orders; administrators manage catalog, orders, users, reviews, and dashboard statistics. The graph separates API, application services, domain contracts, and EF Core persistence. Checkout validation, transaction handling, and several controller-to-service calls are documented or referenced, but most feature implementations were not excerpted, so uncertain call edges are omitted.
Main entry points: ApplicationDbContext.cs EF Core context · ReviewService.cs Review management · Services Application services · RepositoryContracts Repository contracts
Components 22
API
- Account API
Sello/Controllers/AccountController.cs - Catalog API
Sello/Controllers/ProductsController.cs - Admin API
Sello/Controllers/AdminController.cs - Review API
Sello/Controllers/ReviewController.cs - Shopping APIs
Sello/Controllers/CartController.cs - Exception handling
Sello/ExceptionHandling/GlobalExceptionHandler.cs
Application
- Application services
Sello.Application/Services - Checkout and orders
Sello.Application/Services/OrderService.cs - Cart management
Sello.Application/Services/CartService.cs - Review management
Sello.Application/Services/ReviewService.cs - Request validation
Sello.Application/Validators - DTO mapping
Sello.Application/Mappings/MappingProfile.cs
Domain
- Repository contracts
Sello.Domain/RepositoryContracts - Product model
Sello.Domain/Entities/Product.cs - Review model
Sello.Domain/Entities/Review.cs - Order model
Sello.Domain/Entities/Order.cs - User model
Sello.Domain/Entities/Identity/ApplicationUser.cs
Infrastructure
- EF Core context
Sello.Infrastructure/Data/ApplicationDbContext.cs - Repositories
Sello.Infrastructure/Repositories
Other components
- Customer
- Administrator
- SQL Server
Connections 25
- Customer → Account API: authenticates
README.md - Customer → Catalog API: browses catalog
README.md - Customer → Shopping APIs: manages cart
README.md - Customer → Review API: reviews products
README.md - Administrator → Admin API: administers store
README.md - Catalog API → Application services: uses services
Sello/Controllers/ProductsController.cs - Admin API → Application services: uses services
Sello/Controllers/AdminController.cs - Review API → Review management: calls
Sello/Controllers/ReviewController.cs - Review management → Repository contracts: uses repositories
Sello.Application/Services/ReviewService.cs - Review management → Product model: checks product
Sello.Application/Services/ReviewService.cs - Review management → Review model: maps review
Sello.Application/Services/ReviewService.cs - Application services → Request validation: validates requests
README.md - Application services → DTO mapping: maps DTOs
Sello.Application/Mappings/MappingProfile.cs - Checkout and orders → Repository contracts: uses repositories
Sello.Application/Services/OrderService.cs - Cart management → Repository contracts: uses repositories
Sello.Application/Services/CartService.cs - Checkout and orders → Order model: creates orders
Sello.Application/Services/OrderService.cs - Checkout and orders → EF Core context: transactional checkout
README.md - Repository contracts → Repositories: implemented by
Sello.Infrastructure/Repositories/ReviewRepository.cs - Repositories → EF Core context: queries
Sello.Infrastructure/Repositories/ProductRepository.cs - EF Core context → Product model: stores
Sello.Infrastructure/Data/ApplicationDbContext.cs - EF Core context → Review model: stores
Sello.Infrastructure/Data/ApplicationDbContext.cs - EF Core context → Order model: stores
Sello.Infrastructure/Data/ApplicationDbContext.cs - EF Core context → User model: stores
Sello.Infrastructure/Data/ApplicationDbContext.cs - EF Core context → SQL Server: persists to
README.md - Exception handling → Review management: handles exceptions
README.md