diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..b975b60 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,113 @@ +# CLAUDE.md — Freelance Invoicing App + +## Project overview + +Single-file browser app for generating freelance invoices as PDF or print preview. No backend, no build step. All app logic lives in `app/index.html` (~1600 lines: HTML + embedded CSS + embedded JS). Runtime config is loaded from `app/config.yml` via `fetch()`. + +## Running locally + +Must be served over HTTP — `fetch()` for `config.yml` fails on `file://`. + +``` +npx serve app # recommended +python3 -m http.server 8000 # run from app/ +``` + +No `package.json`, no bundler, no install step. + +## Architecture + +``` +app/ + index.html — entire application + config.yml — runtime config (recipients, products, translations, etc.) +docs/ + devdocs/Specs.md + user-guide.md / admin-guide.md / dev-guide.md +``` + +**CDN dependencies** (loaded via `