How tadlhvuong/caterin works
The tree indicates an ASP.NET Core commerce and CMS application with customer and admin surfaces, identity, catalog, orders, inventory, and real-time chat. The clearest sampled workflow is account authentication: the website account controller delegates to the authentication service, which validates and manages users and tokens. Product management and chat are separate major capabilities. Source excerpts are limited, so edges are included only where the excerpts or SOURCE INDEX show a relationship; other subsystems are represented without guessed wiring.
Main entry points: AuthService.cs Authentication · ProductService.cs Product catalog · AccountController.cs Customer pages · AppDbContext.cs Application database
Components 17
Web experience
- Customer pages
Website/Controllers/AccountController.cs - Admin portal
Website/Areas/Admin/Controllers
Identity and security
- Authentication
Shared/Services/Authentication/AuthService.cs - User accounts
Shared/Data/Entities/Identity/AppUser.cs - Refresh tokens
Shared/Data/Entities/Identity/RefreshToken.cs - Permissions
Shared/Data/Entities/Identity/Core/Permission.cs - User validation
Shared/UserValidation/DTOs/UserValidationContext.cs
Commerce operations
- Product catalog
Shared/Services/Product/ProductService.cs - Product records
Shared/Data/Entities/Product/Product.cs - Order management
Shared/Services/Order/OrderService.cs - Inventory
Shared/Services/Customer/CustomerService.cs
Customer chat
- Chat endpoints
Website/Controllers/ChatController.cs - Chat services
Shared/Services/Chat - Chat realtime
Shared/Services/Notification/ChatRealtimeNotifier.cs
Shared platform
- Application database
Shared/Data/Context/AppDbContext.cs - Common helpers
Shared/Common/CommonHelper.cs
Other components
- Site visitor
Connections 10
- Site visitor → Customer pages: uses account pages
Website/Controllers/AccountController.cs - Customer pages → Authentication: delegates authentication
Website/Controllers/AccountController.cs - Authentication → User accounts: finds users
Shared/Services/Authentication/AuthService.cs - Authentication → User validation: validates login
Shared/Services/Authentication/AuthService.cs - Authentication → Refresh tokens: rotates sessions
Shared/Services/Authentication/AuthService.cs - Authentication → Application database: uses database
Shared/Services/Authentication/AuthService.cs - Product catalog → Application database: uses database
Shared/Services/Product/ProductService.cs - Product catalog → Product records: manages products
Shared/Services/Product/ProductService.cs - Chat endpoints → Chat services: uses chat contracts
Website/Controllers/ChatController.cs - Admin portal → Authentication