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`
@@ -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
- **Backend:** Go (standard library HTTP server)
- **Database:** Supabase (PostgreSQL) — shared instance with other m projects
- **AI:** Claude API
- **Deploy:** mRiver with Caddy reverse proxy
- **Database:** Supabase (PostgreSQL) — `kanzlai` schema in flexsiebels instance
- **Deploy:** Dokploy on mLake, domain: kanzlai.msbls.de
## 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
@@ -12,26 +12,16 @@ frontend/ Next.js 15 (TypeScript, Tailwind CSS)
## Development
```bash
# Backend
make dev-backend
# Frontend
make dev-frontend
# Build all
make build
# Lint all
make lint
# Test all
make test
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
```
## Tech Stack
- **Frontend:** Next.js 15, TypeScript, Tailwind CSS
- **Backend:** Go
- **Database:** Supabase (PostgreSQL)
- **AI:** Claude API
- **Deploy:** mRiver + Caddy
- **Database:** Supabase (PostgreSQL)`kanzlai` schema
- **Deploy:** Dokploy on mLake (kanzlai.msbls.de)

View File

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

View File

@@ -4,8 +4,6 @@ services:
context: ./backend
expose:
- "8080"
env_file:
- .env
environment:
- PORT=8080
healthcheck:
@@ -18,15 +16,15 @@ services:
frontend:
build:
context: ./frontend
ports:
- "3000:3000"
expose:
- "3000"
depends_on:
backend:
condition: service_healthy
env_file:
- .env
environment:
- API_URL=http://backend:8080
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
timeout: 5s
retries: 3

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
export default function Home() {
return (
<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>
);
}