How hishamabdalla/e-commerce works
Project Type & Purpose
• Nilura is a full-stack e-commerce web application for fashion/apparel, built with ASP.NET Core MVC using an N-Tier architecture.
• It provides both customer-facing features (product catalog, cart, checkout, order tracking) and admin features (CRUD management, role assignments), plus payment via Stripe.
File Structure Analysis
• Top-Level Layers:
• E-Commerce (the ASP.NET MVC web project) – contains Controllers, Views, wwwroot (static assets), Identity area for auth, ViewComponents, Program/Startup.
• E-Commerce.DataAccess – Entity Framework Core DbContext, Fluent API configurations, Migrations, Repository & UnitOfWork implementations, DbInitializer.
• E-Commerce.Models – POCO classes and ViewModels representing domain entities.
• E-Commerce.Utility – shared constants and settings (e.g., Stripe configuration).
• Architectural Patterns:
• N-Tier / Layered: Presentation (MVC), Business & Data Access, Models, Utility
• Repository & Unit of Work for DB interactions
• ASP.NET Identity for authentication/authorization
• EF Core Migrations & Custom DbInitializer for seeding
README Insights
• Confirms N-Tier + MVC + Repository/UoW patterns
• Highlights Stripe integration, ASP.NET Identity, and database seeding
Essential Details to Capture
• MVC Controllers and Views (with Areas/Identity)
• EF Core DbContext & Fluent Configurations
• Repository interfaces & implementations
• DbInitializer seeding process
• ASP.NET Identity tables and flows
• Stripe integration path
• Static file serving (wwwroot)