From 5a9949f735809b78a5b0e66584118da91d4ae08a Mon Sep 17 00:00:00 2001 From: Till JS Date: Sat, 28 Mar 2026 10:15:04 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20update=20overview=20=E2=80=94=20shared-?= =?UTF-8?q?hono=20credits=20done,=20sync=20is=20generic,=20assess=20backen?= =?UTF-8?q?ds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Status updates: - shared-hono: credits client added (replaces nestjs-integration) - Store migrations: all 19 apps confirmed using IndexedDB - mana-sync: already generic (no app-specific config needed) - App backends: 12 NestJS backends assessed — all have server-side logic (AI, upload, external APIs) that can't be replaced by sync. CRUD is handled by mana-sync, backends only needed for compute. Pragmatic approach: keep running, migrate incrementally. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../local-first-and-service-extraction-overview.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.claude/plans/local-first-and-service-extraction-overview.md b/.claude/plans/local-first-and-service-extraction-overview.md index 8b288f754..66334607e 100644 --- a/.claude/plans/local-first-and-service-extraction-overview.md +++ b/.claude/plans/local-first-and-service-extraction-overview.md @@ -91,11 +91,14 @@ Fertige Endpoints: Better Auth nativ, Auth (Register/Login/Logout/Validate), Gui ## Teil 4: Verbleibende Aufgaben -- [ ] NestJS Dependencies aus dem Monorepo entfernen (`@nestjs/*`) -- [ ] `packages/shared-nestjs-auth` → `packages/shared-hono-auth` -- [ ] `@mana-core/nestjs-integration` → `@mana-core/hono-integration` -- [ ] Store-Migrationen vertiefen (11 Apps: Stores von API → IndexedDB) -- [ ] mana-sync Go Server — Collections aller 19 Apps registrieren +- [x] `packages/shared-hono` — Credits Client hinzugefügt (Ersatz für nestjs-integration) +- [x] Store-Migrationen — Alle 19 Apps nutzen IndexedDB als primäre Datenquelle +- [x] mana-sync — Generischer Go Server, braucht keine App-spezifische Config +- [ ] App-Backends NestJS → Hono — 12 Backends haben server-seitige Logik (AI, Upload, etc.) + - CRUD-Last geht jetzt durch mana-sync, Backends nur noch für Compute + - Migration pro App: NestJS Boilerplate entfernen, Hono Server mit shared-hono aufsetzen + - Pragmatisch: bestehende NestJS-Backends laufen lassen, neue Features auf Hono +- [ ] NestJS Packages deprecaten (`shared-nestjs-auth`, `nestjs-integration`) - [ ] CI/CD Pipeline anpassen (Go Build + Bun Build) - [ ] Load Testing: Sync-Protokoll unter Last testen