# KanzlAI-mGMT

Kanzleimanagement online — law firm management for deadlines (Fristen), appointments (Termine), and case tracking.

**Memory group_id:** `kanzlai`

## Project Structure

```
backend/           Go API server
  cmd/server/      Entry point
  internal/        Private packages
frontend/          Next.js 15 (TypeScript, Tailwind CSS, App Router)
  src/app/         App Router pages
```

## Tech Stack

- **Frontend:** Next.js 15 with TypeScript, Tailwind CSS v4, App Router, Bun
- **Backend:** Go (standard library HTTP server)
- **Database:** Supabase (PostgreSQL) — `mgmt` schema in youpc.org instance
- **Deploy:** Dokploy on mLake, domain: kanzlai.msbls.de

## Development

```bash
make dev-backend    # Go server on :8080
make dev-frontend   # Next.js dev server
make build          # Build both
make lint           # Lint both
make test           # Test both
```

## Git Strategy

- **main** = production
- Feature branches: `feat/*`, `fix/*`
- Worker branches: `mai/<worker>/<task>`
