How mannyivfouy/pos_ui_angular works
POSFrontend is an Angular point-of-sale interface. Users sign in, enter a role-gated workspace, and manage inventory and business records; the cashier workflow selects products, builds a cart, and records a sale. Purchasing, sales history, dashboard statistics, and profile management are separate capabilities. Feature components call domain services, which communicate with the configured API. The graph reflects routes and service calls where shown; unsampled modules and backend internals are represented only at the directory or external-service level.
Main entry points: app.routes.ts Routes · sale-form.ts Sale Entry · product.service.ts Product Service · purchase-form.ts Purchase Entry
Components 22
Access and Shell
- Routes
src/app/app.routes.ts - Login
src/app/features/auth/login/login.ts - Main Layout
src/app/layout/main-layout/main-layout.ts - Authentication
src/app/core/services/auth.service.ts
POS Operations
- Dashboard
src/app/features/dashboard/dashboard.ts - Sale Entry
src/app/features/sale/sale-form/sale-form.ts - Sales History
src/app/features/sale/sale-history - Sales Service
src/app/core/services/sale.service.ts - Purchase Entry
src/app/features/purchase/purchase-form/purchase-form.ts - Purchase History
src/app/features/purchase/purchase-history/purchase-history.ts - Purchase Service
src/app/core/services/purchase.service.ts
Catalog and Records
- Product Management
src/app/features/product - Product Service
src/app/core/services/product.service.ts - Categories
src/app/features/category - Customers
src/app/features/customer - Suppliers
src/app/features/supplier - User Administration
src/app/features/user - Profile
src/app/features/profile/profile.ts
API and Shared UI
- Domain Services
src/app/core/services - POS API
- Shared Components
src/app/shared/components
Other components
- POS User
Connections 27
- POS User → Routes: navigates
src/app/app.routes.ts - Routes → Login: routes to
src/app/app.routes.ts - Routes → Main Layout: wraps workspace
src/app/app.routes.ts - Routes → Dashboard: routes to
src/app/app.routes.ts - Routes → Product Management: routes to
src/app/app.routes.ts - Routes → Categories: routes to
src/app/app.routes.ts - Routes → Customers: routes to
src/app/app.routes.ts - Routes → Suppliers: routes to
src/app/app.routes.ts - Routes → User Administration: routes to
src/app/app.routes.ts - Routes → Sale Entry: routes to
src/app/app.routes.ts - Routes → Sales History: routes to
src/app/app.routes.ts - Routes → Purchase Entry: routes to
src/app/app.routes.ts - Routes → Purchase History: routes to
src/app/app.routes.ts - Routes → Profile: routes to
src/app/app.routes.ts - Login → Authentication: authenticates
src/app/core/services/auth.service.ts - Sale Entry → Sales Service: submits sale
src/app/features/sale/sale-form/sale-form.ts - Sale Entry → Product Service: loads products
src/app/features/sale/sale-form/sale-form.ts - Sale Entry → Shared Components: uses cart and payment UI
src/app/features/sale/sale-form/sale-form.ts - Sales History → Sales Service: loads history
- Purchase Entry → Purchase Service: submits purchase
src/app/features/purchase/purchase-form/purchase-form.ts - Purchase Entry → Product Service: loads products
src/app/features/purchase/purchase-form/purchase-form.ts - Purchase History → Purchase Service: loads history
src/app/features/purchase/purchase-history/purchase-history.ts - Product Management → Product Service: manages products
src/app/features/product/product-list/product-list.ts - Product Management → Shared Components: uses list UI
src/app/features/product/product-list/product-list.ts - Profile → Domain Services: uses user service
src/app/features/profile/profile.ts - Product Service → POS API: requests product data
src/app/core/services/product.service.ts - Authentication → POS API: sends login request
src/app/core/services/auth.service.ts