Martin Berg Alstad 2e73baf98b
✏ README, fix start-once bug and refactor
- Added some configuration and running to README
- Refactored some code
- Fixed exception when stopping a start-once script
- Only allow running with pnpm
- Moved transactions into sparebank1Api.ts
- Formatted
2025-01-25 22:30:52 +01:00
2025-01-25 18:01:47 +01:00
2025-01-23 21:06:42 +01:00

Sparebank1 ActualBudget Integration

🔧 WIP!

Setting up the environment

In order to start the application, a .env.local file must be present at the root level. The possible and required fields can be found in the .env.example file and config.ts.

For running integration tests, the .env.test.local file must be present at the root level, with Actual fields present.

HTTP requests can be used from an IDE via the .http files. Secrets must be placed in a file called http-client.private.env.json in the httpRequests directory. See the .http files for required values.

Running the application

Start the application using a CronJob that runs at a given time. Can be stopped using an interrupt (^C)

pnpm start

Start the application without a CronJob, it will run once, then shutdown.

pnpm start-once
Description
No description provided
Readme 718 KiB
Languages
TypeScript 96.2%
Nix 2.2%
Dockerfile 1.6%