Commit Graph

8 Commits

Author SHA1 Message Date
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 a1d377e8e5 Fix vite preview: allow cad.media-on.de host 2026-05-25 16:00:06 +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