e8ef481a1135945b021bf5e9fa1101c9ff6ce074
The api gate ran `pnpm --filter @groombook/api <script>`, but @groombook/api is the workspace ROOT package and pnpm-workspace.yaml only includes packages/*, so --filter excluded the root and the lint/typecheck/test steps silently no-op'd (false-green). Invoke the root scripts directly instead. Now that the gate actually runs eslint, fix the latent unused-var error in src/__tests__/petProfileSummary.test.ts: servicesTable was declared and assigned in resetMock but never enqueued/read. Remove the declaration, the dead write, and the now-orphaned makeService helper (its only caller). Verified locally: pnpm run typecheck, pnpm --filter @groombook/db typecheck, pnpm run lint (0 errors), pnpm run test (602 passed) all green. Co-Authored-By: Paperclip <noreply@paperclip.ing>
GroomBook API
GroomBook API service — extracted from the groombook/app monorepo.
Overview
This repository contains the GroomBook API service, including:
- REST API endpoints
- Database schema and migrations (via Drizzle ORM)
- Authentication (via Better Auth)
- Background job handlers
Structure
src/ # API service source
packages/db/ # Database schema, migrations, and utilities
packages/types/ # Shared TypeScript types
Setup
pnpm install
cp .env.example .env # Fill in required environment variables
pnpm --filter @groombook/api dev
Docker
docker build -t ghcr.io/groombook/api:latest .
docker run -p 3000:3000 ghcr.io/groombook/api:latest
License
AGPL-3.0-only
Description
Languages
TypeScript
99.3%
JavaScript
0.4%
Dockerfile
0.2%