How hai21225/restaurantfoodmanagersystem works
Restaurant Food Manager is a browser-based restaurant operations system with an ASP.NET Core API and SQL Server persistence. Staff use the frontend to sign in and operate POS orders, kitchen tickets, cashier payments, inventory and purchasing, reports, catalog/recipes, tables, and staff administration. Those workflows pass through API controllers into application services and shared business rules, with operational state persisted in the database; MoMo is documented as mock-only. The graph follows documented capabilities and indexed controller/service references; unsampled frontend and backend links are shown only where the README supports them.
Main entry points: Controllers API controllers · OrderService.cs POS orders · AppDbContext.cs SQL Server data · KitchenService.cs Kitchen tickets
Components 21
Staff interface
- Operations screens
frontend/js/pages
API and identity
- API controllers
RestaurantFoodManagerSystem/Api/Controllers - Authentication
RestaurantFoodManagerSystem/Application/Services/Auth/AuthService.cs
Restaurant operations
- Staff and roles
RestaurantFoodManagerSystem/Application/Services/User/UserService.cs - Food catalog
RestaurantFoodManagerSystem/Application/Services/Food - POS orders
RestaurantFoodManagerSystem/Application/Services/Order/OrderService.cs - Kitchen tickets
RestaurantFoodManagerSystem/Application/Services/Kitchen/KitchenService.cs - Payments
RestaurantFoodManagerSystem/Application/Services/Payment/PaymentService.cs - Inventory
RestaurantFoodManagerSystem/Application/Services/Inventory - Purchasing
RestaurantFoodManagerSystem/Application/Services/Suplier - Recipes
RestaurantFoodManagerSystem/Application/Services/Recipe/RecipeService.cs - Promotions
RestaurantFoodManagerSystem/Application/Services/Promotion/PromotionService.cs - Tables and areas
RestaurantFoodManagerSystem/Application/Services/Restaurant/RestaurantTableService.cs - Restaurant settings
RestaurantFoodManagerSystem/Application/Services/Settings/RestaurantSettingsService.cs - Reports
RestaurantFoodManagerSystem/Application/Services/Report/ReportService.cs
Business rules
- Shared workflow rules
RestaurantFoodManagerSystem/Application/Common - Order records
RestaurantFoodManagerSystem/Domain/Entity/Order - Stock records
RestaurantFoodManagerSystem/Domain/Entity/Recipe_Inventory
Persistence
- SQL Server data
RestaurantFoodManagerSystem/Infrastructure/Persistence/AppDbContext.cs
Other components
- Restaurant staff
- Mock MoMo
Connections 24
- Restaurant staff → Operations screens: uses
README.md - Operations screens → API controllers: calls API
README.md - API controllers → Authentication: delegates to
RestaurantFoodManagerSystem/Api/Controllers/Users/UsersController.cs - API controllers → Staff and roles: delegates to
RestaurantFoodManagerSystem/Api/Controllers/Users/UsersController.cs - API controllers → Food catalog: delegates to
RestaurantFoodManagerSystem/Api/Controllers/Food/FoodsController.cs - API controllers → POS orders: delegates to
RestaurantFoodManagerSystem/Api/Controllers/Order/OrdersController.cs - API controllers → Payments: delegates to
RestaurantFoodManagerSystem/Api/Controllers/Payment/PaymentsController.cs - API controllers → Inventory: delegates to
RestaurantFoodManagerSystem/Api/Controllers/Management/ManagementController.cs - API controllers → Purchasing: delegates to
RestaurantFoodManagerSystem/Api/Controllers/Management/ManagementController.cs - API controllers → Restaurant settings: delegates to
RestaurantFoodManagerSystem/Api/Controllers/Management/ManagementController.cs - API controllers → Promotions: delegates to
RestaurantFoodManagerSystem/Api/Controllers/Management/ManagementController.cs - POS orders → Shared workflow rules: uses rules
RestaurantFoodManagerSystem/Application/Services/Order/OrderService.cs - POS orders → Restaurant settings: reads settings
RestaurantFoodManagerSystem/Application/Services/Order/OrderService.cs - POS orders → Order records: updates
RestaurantFoodManagerSystem/Application/Services/Order/OrderService.cs - Kitchen tickets → Shared workflow rules: uses rules
RestaurantFoodManagerSystem/Application/Services/Kitchen/KitchenService.cs - Kitchen tickets → Order records: updates
RestaurantFoodManagerSystem/Application/Services/Kitchen/KitchenService.cs - Payments → Mock MoMo: uses mock
README.md - POS orders → Tables and areas: refreshes status
RestaurantFoodManagerSystem/Application/Services/Order/OrderService.cs - Authentication → Staff and roles: looks up account
RestaurantFoodManagerSystem/Application/Services/Auth/AuthService.cs - POS orders → SQL Server data: reads and writes
RestaurantFoodManagerSystem/Application/Services/Order/OrderService.cs - Kitchen tickets → SQL Server data: reads and writes
RestaurantFoodManagerSystem/Application/Services/Kitchen/KitchenService.cs - Authentication → SQL Server data: reads and writes
RestaurantFoodManagerSystem/Application/Services/Auth/AuthService.cs - Staff and roles → SQL Server data: reads and writes
RestaurantFoodManagerSystem/Application/Services/User/UserService.cs - SQL Server data → Stock records: maps records
RestaurantFoodManagerSystem/Infrastructure/Persistence/AppDbContext.cs