Application Architecture β Dhanman Microservices¶
```mermaid
graph TB
subgraph Shared["Shared Components"]
RabbitMQ["π RabbitMQ
Events / Commands"]
MinIO["π¦ MinIO
Document Storage"]
PG["ποΈ PostgreSQL 18
Databases"]
end
subgraph Services["Microservices"]
Common["π§© Dhanman.Common<br/>Auth, Multitenancy"]
Community["ποΈ Dhanman.Community<br/>MyHome, Visitors"]
Inventory["π¦ Dhanman.Inventory<br/>Assets, Stock"]
Payroll["π° Dhanman.Payroll<br/>Salaries, Employees"]
Purchase["π Dhanman.Purchase<br/>Vendors, Orders"]
Sales["π Dhanman.Sales<br/>Invoices, Receipts"]
end
subgraph Clients["Clients"]
WebApp["π» dhanman-react-ts"]
Mobile["π± Resident / Guard Apps"]
end
WebApp -->|REST APIs| Services
Mobile -->|API + Auth0| Common
Common --> RabbitMQ
Services --> RabbitMQ
Services --> MinIO
Services --> PG
RabbitMQ --> Common