Files
KomediruzeckiandGitHub 9c62a0ea04 chore: finish retiring the legacy Express backend (#555)
The server itself went in e5931959. What stayed behind was documentation for
it that nobody could follow, because the files it told you to build had gone
with the server.

Deleted:

- docs/self-hosting.md and docs/docker.md — 19 KB of `docker compose`
  instructions against a Dockerfile and docker-compose.yml that no longer
  exist. Both were marked "Retired" at the top, which does not help someone
  who reads past the banner. They are at tag v5.9.3 for anyone still running
  an image built from that server.
- .env.example — APP_PORT=3847, PORT, SESSION_SECRET,
  DATABASE_PATH=db/finance.db, SMTP_*, DEFAULT_USERNAME. Every variable was
  that server's, and nothing in the tree reads any of them: the Worker takes
  wrangler.toml vars plus .dev.vars, the frontend takes VITE_* from
  frontend/.env*.

Corrected:

- README.md, docs/README.md, AGENTS.md — pointed at the deleted guides.
- SECURITY.md described the Worker's security features as a contrast against
  a "deprecated" Express server that is not deprecated, it is gone.
- ROADMAP.md carried an open checkbox for bringing
  backend/routes/importRoutes.js to import parity — unreachable work on a
  deleted file.
- docs/readiness-audit-agent-prompt.md told the auditor not to fix bugs in
  backend/, a directory it will not find.
- frontend/vite.config.ts told you to set API_PROXY_TARGET to "the legacy
  Node/SQLite backend (http://127.0.0.1:3847)" and claimed the Playwright
  suite pinned it there. Both Playwright configs have pinned it at the Worker
  since the retirement.

Kept, deliberately, and AGENTS.md now says why: docs/specs/backend/ and
test/e2e/specs/ are the API contract, written against the Express routes but
describing behaviour the Worker carried over; and the
`// Port of backend/routes/<name>.js` headers in worker/src/routes/ are
provenance for why a handler is shaped the way it is.

Closes #406
2026-09-09 12:05:08 +02:00

5.8 KiB

Documentation Index

Start here if you are an agent or a new contributor: AGENTS.md — what ships (the SolidJS frontend and the Cloudflare Worker), what no longer exists (the Express/SQLite server that stood under backend/, and the Docker files that described it — all deleted), and the rules that are not negotiable.

Getting Started

Deploying

  • worker/README.md — Self-hosting: your own Cloudflare Worker, D1 and R2. This is the only self-host path; the Docker/Express guides were deleted with the server they described (they are at tag v5.9.3 if you still run an image built from it).
  • Deploy-Update Pipeline — How open tabs cross a release: service worker, version.json, reload bounds, manual verification
  • PWA Install Assets — The maskable icon and the install-dialog screenshots: what they are, why they fail silently, and how to regenerate them

Marketing

  • Marketing Screenshots — Re-shooting the product stills the landing sites bundle: seeding, profiles, and the traps that produce a plausible wrong image

Feature Specifications

Detailed EARS (Exactly As Required Specification) documents for all features:

Frontend

Module Spec
Dashboard specs/frontend/dashboard.md
Onboarding specs/frontend/onboarding.md
Transactions specs/frontend/transactions.md
Accounts specs/frontend/accounts.md
Categories specs/frontend/categories.md
Budgets specs/frontend/budgets.md
Goals specs/frontend/goals.md
Loans specs/frontend/loans.md
Bills specs/frontend/bills.md
Retirement specs/frontend/retirement.md
Compound Interest specs/frontend/compound-interest.md
Emergency Fund specs/frontend/emergency-fund.md
Analytics specs/frontend/analytics.md
Import specs/frontend/import.md
Settings specs/frontend/settings.md
Rent vs Buy specs/frontend/rent-buy.md

Backend

These describe the API contract — the routes, their inputs and their guarantees. They were written against the retired Express implementation, so read them for what the API does, not for how it is built. The implementation is worker/src/routes/. See AGENTS.md.

Module Spec
Authentication specs/backend/auth.md
Profiles specs/backend/profiles.md
Transactions specs/backend/transactions.md
Accounts specs/backend/accounts.md
Categories specs/backend/categories.md
Tags specs/backend/tags.md
Budgets specs/backend/budgets.md
Bills specs/backend/bills.md
Loans specs/backend/loans.md
Savings Goals specs/backend/savings-goals.md
Reports specs/backend/reports.md
Settings specs/backend/settings.md
Health specs/backend/health.md
Analytics specs/backend/analytics.md
Housing specs/backend/housing.md
Receipts specs/backend/receipts.md
Recurring specs/backend/recurring.md
Calculator specs/backend/calculator.md

See also: specs/INDEX.md