How monalisonalkar2006/surtwala-canteen-website works
SurtwalaCanteen is an Angular canteen-ordering application with customer, admin, and staff experiences. Customers authenticate, browse food, manage a cart, check out, and track orders; administrators and staff have separate management views. The routes and several customer/service interactions are visible in the supplied excerpts or source index. Some listed capabilities, including payments and inventory, have no sampled implementation details, so their connections are left unverified rather than inferred.
Main entry points: app.routes.ts Role Routes · checkout.component.ts Checkout · cart.service.ts Cart State · app.ts Root Application
Components 19
Application Routing
- Root Application
src/app/app.ts - Role Routes
src/app/app.routes.ts
Customer Ordering
- Food Discovery
src/app/features/customer/home/home.component.ts - Menu Browsing
src/app/features/customer/menu/menu.component.ts - Cart View
src/app/features/customer/cart/cart.component.ts - Cart State
src/app/core/services/cart.service.ts - Checkout
src/app/features/customer/checkout/checkout.component.ts - Customer Orders
src/app/features/customer/orders/orders.component.ts - Favorites
src/app/features/customer/favorites/favorites.component.ts - Customer Reviews
src/app/features/customer/reviews/reviews.component.ts - Review API Client
src/app/core/services/review.service.ts - Payment Service
src/app/core/services/payment.service.ts
Identity and Shared Services
- Login and Registration
src/app/features/auth/login/login.component.ts - Authentication
src/app/core/services/auth.service.ts - Notifications
src/app/core/services/notification.service.ts
Admin and Staff Operations
- Admin Management
src/app/features/admin - Staff Operations
src/app/features/staff
Other components
- Browser User
- Canteen API
Connections 20
- Browser User → Root Application: opens
src/app/app.ts - Root Application → Role Routes: renders routes
src/app/app.ts - Role Routes → Login and Registration: routes to
src/app/app.routes.ts - Role Routes → Food Discovery: routes to
src/app/app.routes.ts - Role Routes → Menu Browsing: routes to
src/app/app.routes.ts - Role Routes → Cart View: routes to
src/app/app.routes.ts - Role Routes → Checkout: routes to
src/app/app.routes.ts - Role Routes → Customer Orders: routes to
src/app/app.routes.ts - Role Routes → Favorites: routes to
src/app/app.routes.ts - Role Routes → Customer Reviews: routes to
src/app/app.routes.ts - Role Routes → Admin Management: routes to
src/app/app.routes.ts - Role Routes → Staff Operations: routes to
src/app/app.routes.ts - Login and Registration → Authentication: authenticates
src/app/features/auth/login/login.component.ts - Food Discovery → Cart State: adds items
src/app/features/customer/home/home.component.ts - Menu Browsing → Cart State: adds items
src/app/features/customer/menu/menu.component.ts - Cart View → Cart State: updates cart
src/app/features/customer/cart/cart.component.ts - Checkout → Cart State: reads cart
src/app/features/customer/checkout/checkout.component.ts - Review API Client → Canteen API: sends review requests
src/app/core/services/review.service.ts - Checkout → Payment Service: initiates payment
- Checkout → Customer Orders: places order