Files
sonar-test-nest4/docs/architecture.md
Scaffolder 4a0f4cb7d2
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m28s
initial commit
Change-Id: Ic85508eb87544e6637b1c2a41c15abc40aa35e0c
2026-05-11 14:47:59 +00:00

31 lines
834 B
Markdown

# Architecture
`sonar-test-nest4` is a `typescript-nestjs` service.
| Component | Detail |
|-----------|--------|
| Runtime | `typescript-nestjs` |
| Container port | `3000` |
| Health check | `/health` |
| Metrics | `/metrics` (Prometheus format) |
| Image | Azure Container Registry (`bstagecjotdevacr`) |
## Deployment flow
```
Push to dev/staging/prod
→ build-push.yml (build + test → push image to ACR)
→ deploy-humanitec.yml (hctl score deploy)
```
## Branch model
| Branch | Purpose |
|--------|---------|
| `main` | System of record — catalog, docs, score.yaml, platform config |
| `dev` | Active development |
| `staging` | Pre-production (lazy-created on first promote) |
| `prod` | Production (lazy-created on first promote) |
Promotions between environments are triggered from the Backstage CI/CD tab.