--- title: Annator Atom Full emoji: ⚛️ colorFrom: green colorTo: blue sdk: docker app_port: 7860 pinned: false --- # Annator Atom — full stack (HF Docker) Single Space process on port **7860**: | Path | Content | |------|---------| | `/login.html` | Login / register UI | | `/` | AIMONEYFLOW client portal (Vite, fast) | | `/clients/` | Existing client HTML dossiers (Kliendibaas) | | `/dashboard.html` | Client dashboard | | `/api/*` | ATOM FastAPI backend (`main_api_app`) | | `/docs` | OpenAPI | | `/api/hf/status` | Space health + mode | ## Stack choices - **Frontend:** AIMONEYFLOW (`FrontEND/AIMONEYFLOW/aimoneyflow`) — static Vite build (~200ms), not the heavy Next.js Command Center. - **Backend:** `ATOM/atom/backend` with HF-slim requirements (no torch/transformers). - **DB default:** SQLite at `/app/data/atom.db` (override with Space secret `DATABASE_URL` → Neon). ## Secrets / variables (optional) - `DATABASE_URL` — Neon Postgres connection string - `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `DEEPSEEK_API_KEY`, … - `ALLOWED_ORIGINS` — CORS list