How garment-wms/garment-wms-be works
Main Components
• Database Layer: Illustrate the database component behind Prisma. This should be shown as a distinct “Database (via Prisma ORM)” component. Optionally include a note about “Prisma Migrations” and “Prisma Schema” files.
• Common Infrastructure: Add components such as “Common Utilities”, “Global Filters”, “Interceptors”, “Pipes”, and “Guards” to represent cross-cutting concerns that the entire NestJS application uses.
• External Services: Highlight connections to other systems such as email (via the “Mail” module), Firebase, notifications (socket gateway for notifications), and any other integrations (e.g., third-party authentication or storage services).
Architectural Patterns and Design Principles
• That each module encapsulates its own domain logic while all modules are unified under the central NestJS application.
Putting It All Together
• External dependencies like Mail, Firebase, or Notification services.