How parthasarathyhmh/austria-dash-api works
This repository is a NestJS Loyalty Dashboard API. Clients call domain controllers, which delegate operations to services; the API covers authentication and access control, workspace/project setup, catalog and pricing, orders and inventory, customer/distributor records, and dashboard content/configuration. The source index confirms many controller-to-service relationships, while excerpts show several directly. Storage and some service internals were not sampled, so the graph avoids inferring their persistence or cross-domain call chains.
Main entry points: app.module.ts Nest application · auth.service.ts Authentication · distributors.service.ts Distributor records · products.service.ts Product catalog
Components 24
Identity and access
- Authentication
src/auth/auth.service.ts - Admin repository
src/auth/auth.repository.ts - Role management
src/role-permission/roles/roles.service.ts - Permission modules
src/role-permission/modules/modules.service.ts
Commerce operations
- Customer records
src/customer/customer.service.ts - Distributor records
src/distributors/distributors.service.ts - Product catalog
src/products/products.service.ts - Categories
src/category/category.service.ts - Price management
src/prices/prices.service.ts - Order management
src/orders/orders.service.ts - Inventory management
src/inventory/services/normal-inventory.service.ts - Catalog and sales rules
src/rules/services/catalog-rule.service.ts - Tax management
src/taxes/taxes.service.ts
Workspace setup
- Workspace management
src/workspace/workspace.service.ts - Project management
src/project/project.service.ts - Routing management
src/routing/routing.service.ts
Dashboard content
- CMS pages and banners
src/cms/pages - Footer content
src/cms/footer/footer.service.ts - Banner content
src/cms/banners/banners.service.ts
Platform services
- Nest application
src/app.module.ts - Message queue API
src/messagequeue/messagequeue.service.ts - System configuration
src/systemconfig/systemconfig.service.ts - Territory management
src/territory/territory.service.ts
Other components
- API client
Connections 38
- Nest application → Authentication: registers module
src/app.module.ts - Nest application → Role management: registers module
src/app.module.ts - Nest application → Permission modules: registers module
src/app.module.ts - Nest application → Customer records: registers module
src/app.module.ts - Nest application → Product catalog: registers module
src/app.module.ts - Nest application → Order management: registers module
src/app.module.ts - Nest application → Categories: registers module
src/app.module.ts - Nest application → Catalog and sales rules: registers module
src/app.module.ts - Nest application → Price management: registers module
src/app.module.ts - Nest application → Inventory management: registers module
src/app.module.ts - Nest application → Routing management: registers module
src/app.module.ts - Nest application → Tax management: registers module
src/app.module.ts - Nest application → Territory management: registers module
src/app.module.ts - Nest application → CMS pages and banners: registers module
src/app.module.ts - Nest application → Banner content: registers module
src/app.module.ts - Nest application → Footer content: registers module
src/app.module.ts - Nest application → Message queue API: registers module
src/app.module.ts - Nest application → Distributor records: registers module
src/app.module.ts - Nest application → Workspace management: registers module
src/app.module.ts - Nest application → Project management: registers module
src/app.module.ts - Nest application → System configuration: registers module
src/app.module.ts - API client → Authentication: submits credentials
src/auth/auth.service.ts - Authentication → Admin repository: checks admin role
src/auth/auth.service.ts - Authentication → Role management: loads role data
src/auth/auth.service.ts - Authentication → Customer records: delegates requests
- API client → Customer records: requests records
- API client → Distributor records: requests records
- Distributor records → API client: returns records
- API client → Product catalog: requests catalog
- Product catalog → API client: returns catalog
- API client → Categories: requests categories
- API client → Order management: requests orders
- API client → Workspace management: manages workspace
- Workspace management → API client: returns workspace
- API client → Project management: manages projects
- API client → Message queue API: manages messages
- Authentication → API client: issues token
src/auth/auth.service.ts - Authentication → API client: may verify token
src/auth/auth.service.ts