Martin Berg Alstad c5b1ec20d6
🧹 Moved Sb1 API to separate workspace and created common workspace
- Created common workspace
- Create Sparebank1Api workspace
- Moved logger to common
- Moved SB1 types to types.ts
- Logger will avoid duplicating first line when capturing console.logs
- Updated imports and added type keyword
- Added nonUniqueId type
2025-02-09 12:35:08 +01:00

869 B

Sparebank1 ActualBudget Integration

Setting up the environment

In order to start the application, an .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 run-once