How akshay9369/diafashions works
DIA Fashion is a fashion-commerce storefront with an Angular customer and admin interface backed by an ASP.NET API and SQL data access. The main customer journey spans browsing products, managing a cart and wishlist, checking out, and viewing orders; account access gates checkout and order pages. Admin capabilities cover catalog and inventory, orders, customers, reviews, banners, settings, and reporting. The graph includes documented route loading and sampled controller-to-DAL calls. Several frontend-to-backend connections and unsampled admin page interactions are not evidenced in the excerpts, so they are not inferred.
Main entry points: Program.cs ASP.NET API · app.routes.ts App routes · SupportController.cs Reviews and contact · auth.service.ts Customer auth
Components 28
Customer storefront
- App routes
DIA_Fashion/src/app/app.routes.ts - Customer auth
DIA_Fashion/src/app/features/authentication/services/auth.service.ts - Product browsing
DIA_Fashion/src/app/pages/product-list/product-list.component.ts - Product service
DIA_Fashion/src/app/core/services/product.service.ts - Cart and checkout
DIA_Fashion/src/app/pages/cart/cart.component.ts - Wishlist
DIA_Fashion/src/app/pages/wishlist/wishlist.component.ts - Order history
DIA_Fashion/src/app/pages/orders/orders.component.ts
Admin console
- Admin pages
DIA_Fashion/src/app/admin/pages - Admin data service
DIA_Fashion/src/app/admin/core/services/admin-data.service.ts - Admin auth
DIA_Fashion/src/app/admin/core/services/admin-auth.service.ts
API domain endpoints
- ASP.NET API
DIA_Fashion/Program.cs - Customer accounts
DIA_Fashion/Controllers/CustomerController.cs - Cart endpoints
DIA_Fashion/Controllers/CartController.cs - Order endpoints
DIA_Fashion/Controllers/OrderController.cs - Product endpoints
DIA_Fashion/Controllers/ProductController.cs - Catalog settings
DIA_Fashion/Controllers/MasterController.cs - Reviews and contact
DIA_Fashion/Controllers/SupportController.cs
Data access
- Admin auth DAL
DIA_Fashion/DAL/AuthDAL.cs - Customer DAL
DIA_Fashion/DAL/CustomerDAL.cs - Cart DAL
DIA_Fashion/DAL/CartDAL.cs - Order DAL
DIA_Fashion/DAL/OrderDAL.cs - Product DAL
DIA_Fashion/DAL/ProductDAL.cs - Master DAL
DIA_Fashion/DAL/MasterDAL.cs - Review DAL
DIA_Fashion/DAL/ReviewDAL.cs - Contact DAL
DIA_Fashion/DAL/ContactDAL.cs
Other components
- Shopper
- SQL database
- Fashion API
Connections 27
- Shopper → App routes: opens pages
DIA_Fashion/src/app/app.routes.ts - App routes → Product browsing: loads route
DIA_Fashion/src/app/app.routes.ts - App routes → Cart and checkout: loads route
DIA_Fashion/src/app/app.routes.ts - App routes → Wishlist: loads route
DIA_Fashion/src/app/app.routes.ts - App routes → Order history: loads route
DIA_Fashion/src/app/app.routes.ts - App routes → Customer auth: guards pages
DIA_Fashion/src/app/app.routes.ts - Customer auth → Fashion API: posts login
DIA_Fashion/src/app/features/authentication/services/auth.service.ts - ASP.NET API → Customer accounts: maps controllers
DIA_Fashion/Program.cs - ASP.NET API → Cart endpoints: maps controllers
DIA_Fashion/Program.cs - ASP.NET API → Order endpoints: maps controllers
DIA_Fashion/Program.cs - ASP.NET API → Product endpoints: maps controllers
DIA_Fashion/Program.cs - ASP.NET API → Catalog settings: maps controllers
DIA_Fashion/Program.cs - ASP.NET API → Reviews and contact: maps controllers
DIA_Fashion/Program.cs - Customer accounts → Customer DAL: calls
DIA_Fashion/Controllers/CustomerController.cs - Cart endpoints → Cart DAL: calls
DIA_Fashion/Controllers/CartController.cs - Order endpoints → Order DAL: calls
DIA_Fashion/Controllers/OrderController.cs - Product endpoints → Product DAL: calls
DIA_Fashion/Controllers/ProductController.cs - Catalog settings → Master DAL: calls
DIA_Fashion/Controllers/MasterController.cs - Reviews and contact → Review DAL: calls
DIA_Fashion/Controllers/SupportController.cs - Reviews and contact → Contact DAL: calls
DIA_Fashion/Controllers/SupportController.cs - Admin auth DAL → SQL database: queries
DIA_Fashion/DAL/AuthDAL.cs - Customer DAL → SQL database: queries
- Cart DAL → SQL database: queries
- Order DAL → SQL database: queries
DIA_Fashion/DAL/OrderDAL.cs - Product DAL → SQL database: queries
DIA_Fashion/DAL/ProductDAL.cs - Master DAL → SQL database: queries
DIA_Fashion/DAL/MasterDAL.cs - Review DAL → SQL database: queries
DIA_Fashion/DAL/ReviewDAL.cs