How erehbani/coffee-system-frontend works
Coffee System is an Angular loyalty frontend for customers, cafés, and administrators. Customers browse cafés and products, check out, and manage rewards and purchase history; café users manage their business and validate coupons; administrators manage platform data. The route table explicitly wires these feature areas, while the README identifies a separate Coffee System backend. Some feature internals were not excerpted, so the graph shows documented routing and marks backend connections as unverified rather than inferring specific API calls.
Main entry points: app.routes.ts Application routing · checkout Cart and checkout · cafe-profile Café profile · coupon-validation Coupon validation
Components 22
Application and access
- Application routing
src/app/app.routes.ts - Authentication
src/features/auth
Customer experience
- Café and product discovery
src/features/home - Product catalog
src/features/catalog - Cart and checkout
src/features/checkout - Profile and rewards
src/features/profile - Purchase history
src/features/purchase-history
Café operations
- Café onboarding
src/features/cafe-onboarding - Café dashboard
src/features/cafe-dashboard - Café orders
src/features/cafe-orders - Café profile
src/features/cafe-profile - Café benefits and products
src/features/cafe-benefits - Café reviews
src/features/cafe-reviews - Coupon validation
src/features/coupon-validation
Administration
- Admin management
src/features/admin-users - Benefit and tier management
src/features/admin-global-benefits - Client management
src/features/admin-clients - Café administration
src/features/admin-cafes
Other components
- Customers
- Café users
- Administrators
- Coffee System backend
Connections 24
- Customers → Application routing: use
src/app/app.routes.ts - Café users → Application routing: use
src/app/app.routes.ts - Administrators → Application routing: use
src/app/app.routes.ts - Application routing → Authentication: guards access
src/app/app.routes.ts - Application routing → Café and product discovery: routes to
src/app/app.routes.ts - Application routing → Product catalog: routes to
src/app/app.routes.ts - Application routing → Cart and checkout: routes to
src/app/app.routes.ts - Application routing → Profile and rewards: routes to
src/app/app.routes.ts - Application routing → Purchase history: routes to
src/app/app.routes.ts - Application routing → Café onboarding: routes to
src/app/app.routes.ts - Application routing → Café dashboard: routes to
src/app/app.routes.ts - Application routing → Café orders: routes to
src/app/app.routes.ts - Application routing → Café profile: routes to
src/app/app.routes.ts - Application routing → Café benefits and products: routes to
src/app/app.routes.ts - Application routing → Café reviews: routes to
src/app/app.routes.ts - Application routing → Coupon validation: routes to
src/app/app.routes.ts - Application routing → Admin management: routes to
src/app/app.routes.ts - Application routing → Benefit and tier management: routes to
src/app/app.routes.ts - Application routing → Client management: routes to
src/app/app.routes.ts - Application routing → Café administration: routes to
src/app/app.routes.ts - Cart and checkout → Coffee System backend: uses API
- Café profile → Coffee System backend: uses API
- Coupon validation → Coffee System backend: uses API
- Admin management → Coffee System backend: uses API