90b3811577
Merges the dev branch history into gitea/migrate-workflows to resolve PR #24. The two branches had unrelated git histories due to the Gitea migration. Conflict resolution favors gitea/migrate-workflows for packages/, src/, .gitea/ structure and dev for apps/, .github/ content. Co-Authored-By: Paperclip <noreply@paperclip.ing>
39 lines
781 B
Markdown
39 lines
781 B
Markdown
# GroomBook API
|
|
|
|
GroomBook API service — extracted from the [groombook/app](https://github.com/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
|
|
|
|
```bash
|
|
pnpm install
|
|
cp .env.example .env # Fill in required environment variables
|
|
pnpm --filter @groombook/api dev
|
|
```
|
|
|
|
## Docker
|
|
|
|
```bash
|
|
docker build -t ghcr.io/groombook/api:latest .
|
|
docker run -p 3000:3000 ghcr.io/groombook/api:latest
|
|
```
|
|
|
|
## License
|
|
|
|
AGPL-3.0-only
|