4204bea2b32c5b17cd956d675a6770ae3219bec2
Add drizzle-orm ^0.38.4 and postgres ^3.4.5 to root package.json dependencies so that pnpm --frozen-lockfile install in CI makes them available at the root node_modules level. apps/api is not a pnpm workspace member (workspace declares packages: ["apps/*"]), so CI's pnpm install does not reach into apps/api/node_modules/. Adding these deps to the root package.json fixes the ERR_MODULE_NOT_FOUND error that Vitest encountered when running tests under pnpm --frozen-lockfile. Also moves drizzle-orm and postgres from apps/api/devDependencies to dependencies per the issue spec. 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%