Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

97 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expenses Tracker

A self-hosted, multi-user expenses tracker. Record income, expenses and transfers across wallets in different currencies, file them under categories you manage, and see where the money went on a per-currency overview (which can also show everything converted into one currency at the day's ECB rates). Import and export as CSV or JSON, including Spendee exports and bank statements.

Quick start (Docker)

mkdir expenses-tracker && cd expenses-tracker
curl -fsSLO https://raw.githubusercontent.com/xalert/expenses-tracker/main/deploy/compose.yaml
docker compose up -d

Open http://localhost:3000 and create your account. That starts the prebuilt image (amd64 and arm64) and its PostgreSQL database; there is nothing to clone or build.

Self-hosting

docs/SELF-HOSTING.md covers running it for real: settings (database password, port, closing registration), HTTPS behind a reverse proxy, backup and restore, upgrading, building from source and running without Docker. Take a backup before upgrading (docker compose run --rm backup). Instances from before the move to PostgreSQL cannot be upgraded in place; carry each account across with its JSON backup (how).

Development

From a clone, with Node 20.9+ and Docker. make lists every shortcut; details in docs/DEVELOPMENT.md.

Run the app on demo data at http://localhost:3000 (sign in as demo / demo-password):

make demo

Run it on your own data instead (a separate database; register, then import your files):

make personal

Typecheck, lint and run the whole test suite:

make check

One test file, optionally only the tests whose name matches:

make test FILE=tests/users.test.ts NAME=changePassword

Run the browser tests (Playwright, against a production build and a throwaway database):

make test-e2e

Re-run the tests on every save:

make watch

Put the demo data back to its fresh state:

make demo-reset

Stop the development database (the data stays):

make down

More

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages