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
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
docker build -t test-alex-gitops-1:dev .
docker run -p 8000:8000 test-alex-gitops-1:dev
Description
Languages
Python
78.4%
Dockerfile
21.6%