How jaswanth5021/ubhayafashions works
Ladies Dress Store is a server-rendered ASP.NET Core MVC storefront backed by a separate Web API, SQL Server, and Entity Framework Core. Customers browse products, manage accounts and addresses, build a cart, and place orders through cash-on-delivery or Razorpay payment flows; administrators manage store operations. The README also documents email/password and Google/Facebook sign-in. Edges below are limited to relationships visible in excerpts, the SOURCE INDEX, or README; unsampled capability links are omitted where no caller is evidenced.
Main entry points: ApplicationDbContext.cs EF data context · ApiService.cs Store API client · PaymentsController.cs Orders and payments · OrdersController.cs Checkout
Components 20
Customer storefront
- Account
frontend/Controllers/AccountController.cs - Product browsing
frontend/Controllers/ProductsController.cs - Cart
frontend/Controllers/CartController.cs - Checkout
frontend/Controllers/OrdersController.cs - Product view models
frontend/Models/ProductViewModel.cs - Store API client
frontend/Services/ApiService.cs
Store API
- Store API
backend/Program.cs - Customer identity
backend/Controllers/AuthController.cs - Product catalog
backend/Controllers/ProductsController.cs - EF data context
backend/Data/ApplicationDbContext.cs
Commerce operations
- Orders and payments
backend/Controllers/PaymentsController.cs - Order endpoints
backend/Controllers/OrdersController.cs
Administration
- Admin console
frontend/Controllers/AdminController.cs - Admin API client
frontend/Services/AdminApiService.cs - Catalog management
backend/Controllers/AdminProductsController.cs - Admin identity
backend/Controllers/AdminAuthController.cs
Other components
- Shopper
- SQL Server
- Razorpay
- Email delivery
backend/Services/OrderConfirmationEmailService.cs
Connections 23
- Shopper → Account: uses
- Shopper → Product browsing: browses
- Shopper → Cart: manages cart
- Shopper → Checkout: checks out
- Account → Store API client: requests account data
frontend/Controllers/AccountController.cs - Product browsing → Store API client: requests catalog
frontend/Controllers/ProductsController.cs - Cart → Store API client: requests products
frontend/Controllers/CartController.cs - Checkout → Store API client: creates and verifies orders
frontend/Controllers/OrdersController.cs - Store API client → Product view models: maps responses
frontend/Services/ApiService.cs - Admin console → Admin API client: delegates requests
frontend/Controllers/AdminController.cs - Store API client → Store API: HTTP requests
frontend/Services/ApiService.cs - Admin API client → Store API: HTTP requests
frontend/Services/AdminApiService.cs - Store API → EF data context: configures
backend/Program.cs - Customer identity → EF data context: reads and writes identity
backend/Controllers/AuthController.cs - Product catalog → EF data context: reads catalog
backend/Controllers/ProductsController.cs - Catalog management → EF data context: updates catalog
backend/Controllers/AdminProductsController.cs - Orders and payments → EF data context: reads and writes orders
backend/Controllers/PaymentsController.cs - EF data context → SQL Server: persists data
- Orders and payments → Razorpay: creates and verifies payment
backend/Controllers/PaymentsController.cs - Checkout → Order endpoints: loads order history
frontend/Controllers/OrdersController.cs - Orders and payments → Email delivery: sends confirmation
- Admin console → Admin identity: authenticates admins
- Admin identity → EF data context: reads and writes admins
backend/Controllers/AdminAuthController.cs