A SvelteKit frontend for the Accounting API. Exercises all core API functions: authentication, vault/encryption, accounts, and transactions.
http://localhost:8080 (see parent directory)npm install
Start the backend first (from the parent directory):
docker-compose up -d
# or: cargo run
Then start the frontend dev server:
npm run dev
The Vite dev server (port 5173) proxies /api, /health, and /deployment requests to http://localhost:8080 automatically. No environment variables needed for local development.
| Variable | Default | Purpose |
|---|---|---|
VITE_API_URL |
(empty — uses relative URLs) | Override API base URL for cross-origin deployments |
For local development with the Vite proxy, leave VITE_API_URL unset. For production or when the API is on a different host:
VITE_API_URL=https://api.example.com npm run build
npm run build
npm run preview # preview the production build locally
npm run check