@saazip/cache-core-admin-api
Sources:
apps/admin-api/package.json|apps/admin-api/src/index.ts
Purpose
Section titled “Purpose”Operational sidecar API for invalidation, warm requests, metrics, and cache admin workflows.
Responsibilities
Section titled “Responsibilities”- accept invalidation requests
- accept warm requests
- serve health, readiness, and metrics surfaces
- expose admin-friendly cache snapshots
Start here if
Section titled “Start here if”- teams who want an explicit operational surface around CacheCore behavior
- shared platforms that use the same cache conventions across services
Workspace details
Section titled “Workspace details”- Package name:
@saazip/cache-core-admin-api - Workspace path:
apps/admin-api - Run command:
pnpm dev:admin-api - Local surface:
http://127.0.0.1:3040
Internal dependencies
Section titled “Internal dependencies”@saazip/cache-core-contracts@saazip/cache-core-domain@saazip/cache-core-metrics@saazip/cache-core-observability
External dependencies
Section titled “External dependencies”fastifyzod
Current routes
Section titled “Current routes”GET /healthGET /readyGET /metricsPOST /v1/invalidatePOST /v1/warmGET /v1/metrics
You still own
Section titled “You still own”- your actual product cache policy and which operations are safe to expose internally
Scripts
Section titled “Scripts”dev:tsx watch src/index.tsbuild:tsc -p tsconfig.jsontypecheck:tsc --noEmit -p tsconfig.jsonlint:biome check src package.json tsconfig.json