Glossary: images-api

Generated by .github/scripts/build-glossary.mjs from domain-graph.json (source commit 9d761d1). Do not edit by hand.

This glossary lists the business terms of images-api. Each term links to its domain, which says what the domain does, its rules, and its flows. The estate glossary shows which other repos use the same terms.

Terms

Domains

Image Processing & Delivery

The core business domain of the service. It fetches a remote source image, validates the requested resize parameters, applies Sharp transforms, and streams the resulting image back to the caller. Two GET endpoints expose an original-image path and a parameterized resize path.

Terms: Image, Domain, ResizeParams (height, width, rotation, quality)

Rules:

Flows:

API Request Lifecycle

The Express protocol layer that boots the service and shapes every request and response. It loads environment config, wires CORS, JSON parsing, and a content-type guard, dispatches routes through an async wrapper, and centralizes error translation.

Terms: Request, Response, Middleware, HttpError, Express App

Rules:

Flows:

Data Persistence

A Knex/Postgres persistence scaffold for future repositories. It provides a transactional session abstraction and a generic base repository with CRUD and filtered-query helpers. The current resize flow is stateless, so this layer is groundwork rather than an active path.

Terms: BaseRepository, Session, Knex Connection, Postgres Table

Rules:

Flows:

Build & Deployment

The delivery lifecycle that takes the service from commit to production. GitHub Actions lint and test the code, semantic-release versions it, Docker packages it, and Kustomize overlays promote the image tag across development, test, and production Kubernetes environments.

Terms: Docker Image, Kustomize Overlay, Kubernetes Deployment, semantic-release Version

Rules:

Flows: