feat/GRO-2319-portal-waitlist-surfacing
- GET /api/portal/appointments now also returns the client's ACTIVE waitlist_entries as synthetic `waitlisted` cards (id prefixed `waitlist:`, status hard-set to waitlisted, startTime derived from preferred date/time) so the portal can render Waitlisted cards in the Upcoming list (item 2). - Seed one active waitlist entry for the UAT customer. waitlist_entries is NOT truncated on the hourly reset, so the entry is upserted by fixed id and its preferred date refreshed to a future-relative value each reset to stay Upcoming. (The existing scheduled row already carries confirmationStatus pending, which drives the live Pending badge.) - portal.test.ts: GET /portal/appointments waitlist-surfacing tests. - UAT_PLAYBOOK.md TC-API-8.19 for the surfaced waitlist entries. Co-Authored-By: Paperclip <noreply@paperclip.ing>
GRO-2294: Route Optimization security hardening (geocode-batch limit cap + redact settings secret) (#193)
GRO-2294: Route Optimization security hardening (geocode-batch limit cap + redact settings secret) (#193)
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%