A simple api backend to do some banking.
This is a simple wrapper for the sbanken API's, using the bridge pattern and/or facade pattern to be able to expose access to your account details in a safe way. This decouples my client API from the underlying SBanken API, and lets me encapsulate credentials and secrets to SBanken in a secure way. Instead of giving a web client direct access to credentials, as an example.
It uses my other repository node-sbanken as the SDK to make the actual API requests.
The API Client is intended to be run as a docker container.
docker run -d -e SBANKEN_CLIENTID=$SBANKEN_CLIENTID -e SBANKEN_CUSTOMERID=$SBANKEN_CUSTOMERID -e SBANKEN_SECRET=$SBANKEN_SECRET --restart=unless-stopped --name saldo-api -p 3030:3000 tfmalt/saldo-api