From e390e3a14599728a5857c90307bfe4656d71fd48 Mon Sep 17 00:00:00 2001 From: jp Date: Thu, 13 Aug 2026 17:55:40 +0100 Subject: [PATCH] Separate JSON API backend + React+react-router frontend - vm_api.py: pure FastAPI JSON API on :8098, CORS enabled - vm-api.service: systemd unit for API backend - frontend/: Vite + React 18 + react-router-dom 7 + TanStack Query - React pages: messages, contacts, contact history, settings, login, logout - Apache: /api/ proxy to :8098, DocumentRoot -> frontend/dist, SPA fallback - Backward compat: old :8099 portal still running as fallback --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 7e0cb2d..db8330d 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ venv/ *.swp .DS_Store frontend/node_modules/ +frontend/node_modules/