- Complete monorepo structure with pnpm workspaces - Prisma database schema with 20+ entities - NestJS API with 9 core modules - BullMQ orchestration worker - AWS and Azure provider adapters - Docker Compose infrastructure - Complete documentation
64 lines
2.9 KiB
Plaintext
64 lines
2.9 KiB
Plaintext
.
|
|
├── apps/
|
|
│ ├── api/ # NestJS REST API
|
|
│ │ ├── src/
|
|
│ │ │ ├── modules/
|
|
│ │ │ │ ├── auth/ # Authentication module
|
|
│ │ │ │ ├── tenants/ # Tenant management
|
|
│ │ │ │ ├── users/ # User management
|
|
│ │ │ │ ├── providers/ # Provider management
|
|
│ │ │ │ ├── endpoints/ # Connectivity endpoints
|
|
│ │ │ │ ├── quotes/ # Quote generation
|
|
│ │ │ │ ├── orders/ # Order management
|
|
│ │ │ │ ├── services/ # Service lifecycle
|
|
│ │ │ │ └── audit/ # Audit logging
|
|
│ │ │ ├── database/
|
|
│ │ │ │ ├── prisma.service.ts
|
|
│ │ │ │ └── database.module.ts
|
|
│ │ │ ├── app.module.ts
|
|
│ │ │ └── main.ts
|
|
│ │ ├── Dockerfile
|
|
│ │ ├── nest-cli.json
|
|
│ │ ├── package.json
|
|
│ │ └── tsconfig.json
|
|
│ │
|
|
│ └── worker/ # BullMQ orchestration worker
|
|
│ ├── src/
|
|
│ │ ├── adapters/
|
|
│ │ │ ├── aws-adapter.ts # AWS Direct Connect
|
|
│ │ │ ├── azure-adapter.ts # Azure ExpressRoute
|
|
│ │ │ └── adapter-registry.ts
|
|
│ │ ├── orchestration/
|
|
│ │ │ └── provisioning-orchestrator.ts
|
|
│ │ └── main.ts
|
|
│ ├── Dockerfile
|
|
│ ├── package.json
|
|
│ └── tsconfig.json
|
|
│
|
|
├── packages/
|
|
│ ├── database/ # Prisma ORM package
|
|
│ │ ├── prisma/
|
|
│ │ │ ├── schema.prisma # Complete database schema
|
|
│ │ │ └── seed.ts # Seed data script
|
|
│ │ ├── src/
|
|
│ │ │ └── index.ts
|
|
│ │ ├── package.json
|
|
│ │ └── tsconfig.json
|
|
│ │
|
|
│ └── shared-types/ # Shared TypeScript types
|
|
│ ├── src/
|
|
│ │ └── index.ts # Provider adapters, events, DTOs
|
|
│ ├── package.json
|
|
│ └── tsconfig.json
|
|
│
|
|
├── docker-compose.yml # Local development stack
|
|
├── package.json # Root package.json
|
|
├── pnpm-workspace.yaml # pnpm workspace config
|
|
├── turbo.json # Turborepo config
|
|
├── tsconfig.json # Base TypeScript config
|
|
├── .prettierrc # Code formatting
|
|
├── .gitignore
|
|
├── README.md # Main documentation
|
|
├── QUICKSTART.md # Quick start guide
|
|
└── sdi-saas-architecture-blueprint.md # Architecture reference
|