How lalitdubey-glitch/naxora works
Naxora is an ASP.NET Core MVC storefront with customer accounts, a nested product catalog, cart operations, and an administrator portal. Shoppers browse or filter the catalog and manage cart items through the product endpoints; account actions cover registration, login, profile changes, and password recovery. Administrators manage users, categories, subcategories, and products, including image processing. The excerpts show controller-to-service calls and stored-procedure access; README statements support the documented browser workflows. Database internals and some view-to-endpoint wiring were not sampled, so those connections are limited to documented relationships.
Main entry points: ProductsController.cs Catalog and cart endpoints · HomeController.cs Accounts and home · DbLayer.cs Stored-procedure data layer · AdminController.cs Admin workflows
Components 24
Storefront and accounts
- Accounts and home
Naxora/Controllers/HomeController.cs - Home views
Naxora/Views/Home - Sign-up data
Naxora/Models/SignUpModel.cs - Login data
Naxora/Models/LoginModel.cs - Profile data
Naxora/Models/EditUserModel.cs
Catalog and cart
- Catalog and cart endpoints
Naxora/Controllers/ProductsController.cs - Catalog views
Naxora/Views/Products - Product data
Naxora/Models/ProductModel.cs - Category data
Naxora/Models/CategoryModel.cs - Subcategory data
Naxora/Models/SubCatModel.cs - Cart handlers
Naxora/wwwroot/js/products.js
Administration
- Admin workflows
Naxora/Controllers/AdminController.cs - Admin dashboard
Naxora/Views/Admin/Index.cshtml - Category handlers
Naxora/wwwroot/js/Category.js - Subcategory handlers
Naxora/wwwroot/js/SubCategory.js - Dashboard handlers
Naxora/wwwroot/js/admin.js
Application services
- Stored-procedure data layer
Naxora/Models/DbLayer.cs - SQL Server
- Image processing
Naxora/Models/ImageResizerHelper.cs - Uploaded images
Naxora/wwwroot/Uploads - Email service
Naxora/Models/EmailService.cs - SMTP service
Other components
- Shopper
- Administrator
Connections 28
- Shopper → Accounts and home: uses accounts
README.md - Accounts and home → Home views: renders
- Accounts and home → Sign-up data: accepts
Naxora/Controllers/HomeController.cs - Accounts and home → Login data: accepts
Naxora/Controllers/HomeController.cs - Accounts and home → Profile data: accepts
Naxora/Controllers/HomeController.cs - Accounts and home → Stored-procedure data layer: queries
Naxora/Controllers/HomeController.cs - Accounts and home → Email service: sends reset email
Naxora/Controllers/HomeController.cs - Shopper → Catalog views: browses catalog
README.md - Catalog views → Catalog and cart endpoints: requests catalog
- Catalog and cart endpoints → Stored-procedure data layer: queries
Naxora/Controllers/ProductsController.cs - Catalog and cart endpoints → Image processing: resizes images
Naxora/Controllers/ProductsController.cs - Catalog and cart endpoints → Product data: accepts product data
Naxora/Controllers/ProductsController.cs - Catalog and cart endpoints → Category data: uses category data
Naxora/Controllers/ProductsController.cs - Catalog and cart endpoints → Subcategory data: uses subcategory data
Naxora/Controllers/ProductsController.cs - Shopper → Cart handlers: manages cart
README.md - Cart handlers → Catalog and cart endpoints: requests cart actions
- Administrator → Admin dashboard: manages inventory
README.md - Admin dashboard → Admin workflows: uses admin workflows
README.md - Admin workflows → Stored-procedure data layer: queries users
Naxora/Controllers/AdminController.cs - Administrator → Category handlers: manages categories
README.md - Administrator → Subcategory handlers: manages subcategories
README.md - Administrator → Dashboard handlers: uses dashboard handlers
README.md - Category handlers → Catalog and cart endpoints: sends taxonomy requests
- Subcategory handlers → Catalog and cart endpoints: sends taxonomy requests
- Dashboard handlers → Admin workflows: sends admin requests
- Stored-procedure data layer → SQL Server: executes procedures
README.md - Image processing → Uploaded images: saves images
Naxora/Models/ImageResizerHelper.cs - Email service → SMTP service: sends mail
Naxora/Models/EmailService.cs