Architecture¶
Welcome to the Atlas ERP Architecture documentation. This section covers the core system design, technical decisions, and patterns used throughout the application.
Overview¶
Atlas ERP is a cloud-native, multi-tenant enterprise application built using a modern TypeScript stack. It strictly separates the frontend (Next.js) from the backend (NestJS API), ensuring a scalable, secure, and maintainable codebase.
In this section¶
- Overview — High-level introduction to the architecture.
- Tech Stack — Detailed list of technologies used and why.
- System Diagram — Visual representation of the system components.
- Monorepo Structure — How the Turborepo workspace is organized.
- Multi-Tenancy — How data is isolated between different tenant organizations.
- Request Lifecycle — The path an HTTP request takes through the system.
- Background Jobs — How asynchronous tasks are handled via BullMQ.
- Authentication — Overview of the Better Auth integration.
- Observability — Logging and monitoring using Grafana and Loki.