initial commit
All checks were successful
Build and Push to ACR / Build and Push (push) Successful in 45s

Change-Id: Iccb9a69a29ce96d618762c5c852c8ec43d9b78df
This commit is contained in:
Scaffolder
2026-03-19 16:22:58 +00:00
commit a322740284
14 changed files with 721 additions and 0 deletions

19
docs/api.md Normal file
View File

@@ -0,0 +1,19 @@
# API Reference
Base URL: `https://test-micro-alex-stable-1.kyndemo.live`
## Items `/api/items`
| Method | Path | Body | Response |
|--------|------|------|----------|
| GET | `/api/items` | — | Array of items |
| POST | `/api/items` | `{name,description}` | Created item (201) |
| GET | `/api/items/:id` | — | Item or 404 |
| PUT | `/api/items/:id` | `{name?,description?}` | Updated item |
| DELETE | `/api/items/:id` | — | `{deleted:id}` |
## Observability
| Path | Description |
|------|-------------|
| `/health` | `{"status":"UP"}` |
| `/metrics` | Prometheus text format |

16
docs/architecture.md Normal file
View File

@@ -0,0 +1,16 @@
# Architecture
`test-micro-alex-stable-1` is a Node.js 20 **Express** application.
| Component | Technology |
|-----------|-----------|
| HTTP | Express 4 |
| Metrics | prom-client → `/metrics` |
| Health | `/health` endpoint |
## Deployment flow
```
Push → build-push.yml (npm ci + docker build → ACR)
→ deploy-humanitec.yml (humctl score deploy)
```

7
docs/index.md Normal file
View File

@@ -0,0 +1,7 @@
# Home
test-micro-alex-stable-1 — test-micro-alex-stable-1
- **Runtime**: Node.js 20 · Express 4
- **Owner**: group:default/platform-engineering
- **Deployment profile**: `stateless`