Commit Graph

23 Commits

Author SHA1 Message Date
Agent Zero c977678ad1 Add missing backend/.dockerignore from production source 2026-06-28 10:07:56 +02:00
Agent Zero 2109f0544b Replace frontend with real working CAD editor source from /data/web-cad-neu (TS, React 18, full ribbon bar, KI, layers, tools) 2026-06-28 10:00:32 +02:00
Agent Zero b56c65815a Restore JSX frontend with Login/Dashboard/Editor from 249d5fb, remove TS frontend, fix nginx port to 3001 2026-06-28 09:46:11 +02:00
Agent Zero 65c1f10499 Fix nginx proxy port (3001), add nginx.conf to Dockerfile, add /ws proxy, fix WebSocketProvider for production URLs 2026-06-28 02:35:08 +02:00
Agent Zero 05ccebad8d Replace frontend with deployed TS version from a08dd73
- Restore TS frontend source (canvas, tools, CRDT, components, services)
- Keep 5 JSX components that TS code depends on (CADCanvas, LayerPanel, BlockLibrary, PluginRegistry, Toolbar)
- Keep JS services (api.js, blockService.js) that components depend on
- Fix vite/plugin-react version mismatch (downgrade to v4 for vite 6)
- Add axios dependency
- Skip tsc in build script (vite/esbuild handles transpilation)
- Fix index.html lang=de, favicon path
- Add vite proxy config for /api and /ws
- Backend unchanged (already from deployed containers)
2026-06-28 02:16:58 +02:00
Agent Zero 6e508fb68e Add regenerated package-lock files for reproducible builds 2026-06-28 01:25:45 +02:00
Agent Zero 8fa6f795c0 Clean working version: deployed TypeScript backend + JSX frontend
- Replace old JS backend with working TypeScript backend from deployed containers
- Backend: Fastify + better-sqlite3 + Yjs CRDT, 17 TS source files, 13 test files
- Frontend: React JSX with fabric.js CAD canvas, vite build, nginx serving
- Fix nginx proxy port 5000→3001 to match backend
- Fix docker-compose port mapping 5000→3001
- Fix vite dev proxy port 5000→3001
- Add backend healthcheck to docker-compose
- Update index.html title to 'Web CAD', lang to 'de'
- Add .a0/ to .gitignore
- Remove old JS backend files (models, routes, config, middleware, seed)
- Remove tracked build artifacts (backend/public/)
2026-06-28 01:24:31 +02:00
Agent Zero 249d5fbdb6 docs: update requirements v4 – KI simplified to OpenAI-compatible endpoint, Q-15/Q-16 resolved, no local model deployment 2026-06-19 23:27:47 +02:00
Agent Zero 121efbae0a docs: update requirements v3 – KI Copilot, API-First/Modularity, Q-03 resolved (SQLite), AI architecture research 2026-06-19 23:18:53 +02:00
Agent Zero 239955f6f2 docs: update requirements v2 – AutoCAD Web reference, Open Source, Plugin-System, Q-01/Q-02 resolved 2026-06-19 22:59:18 +02:00
Agent Zero 6f18ab8735 docs: add requirements specification for web-cad (Phase 1 Intake) 2026-06-19 22:46:39 +02:00
Agent Zero 9fc4691c74 Restore node:22-alpine frontend with vite preview (successful config) 2026-05-25 18:55:56 +00:00
Agent Zero 385861f486 Add frontend container (nginx) with api proxy, restore two-container architecture 2026-05-25 18:36:41 +00:00
Agent Zero aa17e212bc Remove sqlite3 dependency - using PostgreSQL instead 2026-05-25 17:11:11 +00:00
Agent Zero 0a02e11d99 Fix: expose 5000 damit Traefik den Backend-Container findet 2026-05-25 17:08:01 +00:00
Agent Zero 2c5fe4dae9 Single container: Backend serves API + Frontend static files + SPA fallback 2026-05-25 17:03:06 +00:00
Agent Zero c7899ae4f6 Use raw SQL for admin user creation to ensure login works 2026-05-25 16:52:19 +00:00
Agent Zero c2905fdfe4 Fix login: seed.js creates admin user, run seed before server start 2026-05-25 16:49:20 +00:00
Agent Zero a1d377e8e5 Fix vite preview: allow cad.media-on.de host 2026-05-25 16:00:06 +00:00
Agent Zero bee3f758f6 PostgreSQL statt SQLite: eigener DB-Container in Compose 2026-05-25 15:52:52 +00:00
Agent Zero bf47739479 Fix healthchecks: use node http module instead of wget/curl 2026-05-24 21:57:38 +00:00
Agent Zero d054d4c726 Fix frontend Dockerfile: apk instead of apt-get for nginx:alpine 2026-05-24 21:56:15 +00:00
Agent Zero cdf350c618 Fix healthchecks: install curl in backend and frontend images 2026-05-24 21:54:58 +00:00