Compare commits

..

4 Commits

Author SHA1 Message Date
m
193a4cd567 refactor: rename to KanzlAI-mGMT, pivot to Kanzleimanagement
New direction: law firm management (Fristen, Termine, case tracking)
instead of UPC case law search. Updated all references, Go module
path, and deployment info.
2026-03-25 12:40:15 +01:00
m
792d084b4f fix: use node fetch for frontend health check
wget in node:22-alpine can't connect to localhost:3000 — use
node's built-in fetch instead, which works correctly.
2026-03-24 23:47:36 +01:00
m
ff9a6f3866 fix: use expose instead of ports for Dokploy/Traefik compatibility
Port 3000 conflicts with Dokploy. Traefik routes traffic via
Docker network, so expose is sufficient. Also remove env_file
refs since Dokploy injects env vars directly.
2026-03-24 23:43:11 +01:00
m
83a18a0a85 build: add Docker Compose setup for Dokploy deployment 2026-03-24 19:25:48 +01:00
7 changed files with 23 additions and 36 deletions

View File

@@ -1,6 +1,6 @@
# KanzlAI # KanzlAI-mGMT
AI-powered toolkit for patent litigation — UPC case law search, analysis, and AI-assisted legal research. Kanzleimanagement online — law firm management for deadlines (Fristen), appointments (Termine), and case tracking.
**Memory group_id:** `kanzlai` **Memory group_id:** `kanzlai`
@@ -18,9 +18,8 @@ frontend/ Next.js 15 (TypeScript, Tailwind CSS, App Router)
- **Frontend:** Next.js 15 with TypeScript, Tailwind CSS v4, App Router, Bun - **Frontend:** Next.js 15 with TypeScript, Tailwind CSS v4, App Router, Bun
- **Backend:** Go (standard library HTTP server) - **Backend:** Go (standard library HTTP server)
- **Database:** Supabase (PostgreSQL) — shared instance with other m projects - **Database:** Supabase (PostgreSQL) — `kanzlai` schema in flexsiebels instance
- **AI:** Claude API - **Deploy:** Dokploy on mLake, domain: kanzlai.msbls.de
- **Deploy:** mRiver with Caddy reverse proxy
## Development ## Development

View File

@@ -1,6 +1,6 @@
# KanzlAI # KanzlAI-mGMT
AI-powered toolkit for patent litigation — starting with UPC case law search and analysis. Kanzleimanagement online — law firm management for deadlines, appointments, and case tracking.
## Structure ## Structure
@@ -12,26 +12,16 @@ frontend/ Next.js 15 (TypeScript, Tailwind CSS)
## Development ## Development
```bash ```bash
# Backend make dev-backend # Go server on :8080
make dev-backend make dev-frontend # Next.js dev server
make build # Build both
# Frontend make lint # Lint both
make dev-frontend make test # Test both
# Build all
make build
# Lint all
make lint
# Test all
make test
``` ```
## Tech Stack ## Tech Stack
- **Frontend:** Next.js 15, TypeScript, Tailwind CSS - **Frontend:** Next.js 15, TypeScript, Tailwind CSS
- **Backend:** Go - **Backend:** Go
- **Database:** Supabase (PostgreSQL) - **Database:** Supabase (PostgreSQL)`kanzlai` schema
- **AI:** Claude API - **Deploy:** Dokploy on mLake (kanzlai.msbls.de)
- **Deploy:** mRiver + Caddy

View File

@@ -1,3 +1,3 @@
module mgit.msbls.de/m/KanzlAI module mgit.msbls.de/m/KanzlAI-mGMT
go 1.25.5 go 1.25.5

View File

@@ -4,8 +4,6 @@ services:
context: ./backend context: ./backend
expose: expose:
- "8080" - "8080"
env_file:
- .env
environment: environment:
- PORT=8080 - PORT=8080
healthcheck: healthcheck:
@@ -18,15 +16,15 @@ services:
frontend: frontend:
build: build:
context: ./frontend context: ./frontend
ports: expose:
- "3000:3000" - "3000"
depends_on: depends_on:
backend: backend:
condition: service_healthy condition: service_healthy
env_file: environment:
- .env - API_URL=http://backend:8080
healthcheck: healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000"] test: ["CMD", "node", "-e", "fetch('http://localhost:3000').then(r=>{if(!r.ok)throw r.status;process.exit(0)}).catch(()=>process.exit(1))"]
interval: 30s interval: 30s
timeout: 5s timeout: 5s
retries: 3 retries: 3

View File

@@ -1,5 +1,5 @@
{ {
"name": "frontend", "name": "kanzlai-mgmt",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {

View File

@@ -13,8 +13,8 @@ const geistMono = Geist_Mono({
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
title: "KanzlAI", title: "KanzlAI-mGMT",
description: "AI-powered toolkit for patent litigation", description: "Kanzleimanagement online",
}; };
export default function RootLayout({ export default function RootLayout({

View File

@@ -1,7 +1,7 @@
export default function Home() { export default function Home() {
return ( return (
<main className="flex min-h-screen items-center justify-center"> <main className="flex min-h-screen items-center justify-center">
<h1 className="text-4xl font-bold">KanzlAI</h1> <h1 className="text-4xl font-bold">KanzlAI-mGMT</h1>
</main> </main>
); );
} }