53677b1420d315c7808c87f017a5a0c4f70a63ec
Adds profile-summary endpoint for groombook web to display: - Basic pet fields (name, species, breed, coatType, etc.) - Recent grooming history (last 10 completed appointments with staff names) - Visit count (completed appointments) - Upcoming appointment (next scheduled/confirmed) Groomer RBAC: groomers can only see pets they've had appointments with. Non-groomer staff (admin/super) can see all pets. Fixes GRO-1802 (UAT regression: profile-summary route never deployed). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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%