Skip to content

@saazip/cache-core-admin-api

Sources: apps/admin-api/package.json | apps/admin-api/src/index.ts

Operational sidecar API for invalidation, warm requests, metrics, and cache admin workflows.

  • accept invalidation requests
  • accept warm requests
  • serve health, readiness, and metrics surfaces
  • expose admin-friendly cache snapshots
  • teams who want an explicit operational surface around CacheCore behavior
  • shared platforms that use the same cache conventions across services
  • 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
  • fastify
  • zod
  • GET /health
  • GET /ready
  • GET /metrics
  • POST /v1/invalidate
  • POST /v1/warm
  • GET /v1/metrics
  • your actual product cache policy and which operations are safe to expose internally
  • dev: tsx watch src/index.ts
  • build: tsc -p tsconfig.json
  • typecheck: tsc --noEmit -p tsconfig.json
  • lint: biome check src package.json tsconfig.json