uns-input — Manual Data Entry
Operators submit scrap counts, quality checks, notes, and adjustments via HTTP.
| Language | Node.js |
| Type | HTTP function |
| Scaffolded with | fnkit node |
| Depends on | PostgreSQL |
What It Does
HTTP API for operators to submit scrap counts, quality measurements, notes, adjustments, and downtime reasons.
Input Types
| Type | Description |
|---|---|
| scrap | Rejected parts + reason |
| note | Free-text note |
| adjustment | Value correction |
| quality | Quality check |
| downtime_reason | Manual downtime reason |
API
POST /uns-input {"type":"scrap","machine":"cnc-01","operator":"John","data":{"quantity":3}}
GET /uns-input?machine=cnc-01&type=scrap
DELETE /uns-input?id=42Quick Start
cd uns-input && cp .env.example .env && docker compose up -d curl http://localhost:8080/uns-input | jq