How saurabhdixit03/smart-mess works
Smart Mess is a multi-tenant meal-planning and mess-operations platform with separate owner and customer portals. Owners configure a mess and publish menus; customers respond to meals; owners monitor responses and record collections; recorded meals feed manual or automated billing, followed by customer checkout and payment reconciliation. The graph also preserves customer administration, notifications, live updates, insights, and optional AI menu intelligence. Backend service/controller subsystems and several client feature paths are represented at directory level because their implementations were not sampled; those links are documented in the README or marked unverified.
Main entry points: AppRouter.tsx Web portals · menu Menu publishing · useDashboard.ts Live dashboard · MealRecordController.java Meal collection
Components 22
Portals and identity
- Web portals
client/src/routes/AppRouter.tsx - Authentication
backend/src/main/java/com/smartmess/backend/service/impl/AuthServiceImpl.java - Tenant accounts
backend/src/main/java/com/smartmess/backend/entity - Customer management
backend/src/main/java/com/smartmess/backend/controller/CustomerController.java
Meal operations
- Mess configuration
backend/src/main/java/com/smartmess/backend/service/MessConfigurationInitializer.java - Menu publishing
client/src/features/owner/menu - Meal responses
backend/src/main/java/com/smartmess/backend/controller/MealResponseController.java - Live dashboard
client/src/features/owner/dashboard/hooks/useDashboard.ts - Meal collection
backend/src/main/java/com/smartmess/backend/controller/MealRecordController.java - Meal records
backend/src/main/java/com/smartmess/backend/entity/MealRecord.java - Schedules and pricing
backend/src/main/java/com/smartmess/backend/controller/MealPricingController.java
Billing and payments
- Billing and jobs
backend/src/main/java/com/smartmess/backend/service - Customer checkout
client/src/features/customer/billing/hooks/usePaymentCheckout.ts - Cashfree gateway
backend/src/main/java/com/smartmess/backend/service/CashfreeGatewayService.java - Payment tracking
backend/src/main/java/com/smartmess/backend/entity/Payment.java
Insights and intelligence
- Business insights
backend/src/main/java/com/smartmess/backend/controller/InsightsController.java - Meal feedback
backend/src/main/java/com/smartmess/backend/controller/MealFeedbackController.java - AI menu intelligence
backend/src/main/java/com/smartmess/backend/service/intelligence/ai
Shared platform
- Notifications and email
backend/src/main/java/com/smartmess/backend/service/NotificationService.java - Real-time updates
backend/src/main/java/com/smartmess/backend/service/DashboardWebSocketService.java
Other components
- Mess owner
- Customer
Connections 26
- Mess owner → Web portals: uses
- Customer → Web portals: uses
- Web portals → Authentication: authenticates
- Authentication → Tenant accounts: creates accounts
backend/src/main/java/com/smartmess/backend/service/impl/AuthServiceImpl.java - Mess owner → Mess configuration: configures
- Mess configuration → Menu publishing: precedes
- Mess owner → Menu publishing: publishes
- Customer → Meal responses: responds
- Meal responses → Live dashboard: summarizes
- Mess owner → Live dashboard: monitors
- Mess owner → Meal collection: records meals
- Menu publishing → Meal collection: informs
- Meal collection → Meal records: stores meals
- Mess owner → Customer management: approves customers
- Mess owner → Schedules and pricing: sets pricing
- Meal records → Billing and jobs: bills recorded meals
- Customer → Customer checkout: pays bill
- Customer checkout → Cashfree gateway: starts checkout
- Cashfree gateway → Payment tracking: verifies payment
- Payment tracking → Notifications and email: triggers notices
- Mess owner → Business insights: reviews
- Customer → Meal feedback: submits feedback
- Meal feedback → AI menu intelligence: analyzed by
- AI menu intelligence → Mess owner: suggests changes
- Notifications and email → Customer: delivers notices
- Live dashboard → Real-time updates: updates live