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

Change-Id: I3184ea3bc23ecc769c9de5fad0a0a0229e353629
This commit is contained in:
Scaffolder
2026-03-23 23:19:03 +00:00
commit d10e2ce029
19 changed files with 1089 additions and 0 deletions

36
README.md Normal file
View File

@@ -0,0 +1,36 @@
# test-alex-gitops-1
test-alex-gitops-1
**Runtime**: Python 3.12 · FastAPI
**Owner**: group:default/platform-engineering
**Platform**: Humanitec · Project `test-alex-gitops-1`
## Quick Start
```bash
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload
```
Service listens on **http://localhost:8000**.
Swagger UI: **http://localhost:8000/docs**
## Endpoints
| Method | Path | Description |
|--------|------|-------------|
| GET | `/api/items` | List all items |
| POST | `/api/items` | Create an item |
| GET | `/api/items/{id}` | Get by ID |
| PUT | `/api/items/{id}` | Update |
| DELETE | `/api/items/{id}` | Delete |
| GET | `/health` | Health check |
| GET | `/metrics` | Prometheus metrics |
| GET | `/docs` | Swagger UI |
## Container
```bash
docker build -t test-alex-gitops-1:dev .
docker run -p 8000:8000 test-alex-gitops-1:dev
```