tfmalt / saldo-api

A simple api backend to do some banking.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

saldo-api

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.

Running in Docker

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

About

A simple api backend to do some banking.

License:MIT License


Languages

Language:TypeScript 97.6%Language:Dockerfile 2.4%