/BootBankJS-PY

Backend script for BootBankJS frontend

Primary LanguagePythonMIT LicenseMIT

BootBankJS-PY

Backend script for BootBankJS frontend

Prepare

apt-get -y install python3-mysql.connector
pip3 install fints

Installing

  1. clone repository
git clone https://github.com/Ezak91/BootBankJS-PY.git
  1. rename config files
cd BootBankJS-PY
mv config.json.example config.json
mv accounts.json.example accounts.json
  1. edit config files see Edit config files
nano config.json
nano accounts.json
  1. import bootbankjs.sql file to mysql to create database (only one time for BootBankJS-PY or BootBankJS)

Edit config files

config.json

{
    "host": "localhost",
    "user": "root",
    "passwd": "password",
    "database": "bootbankjs"
}
  • host: your mysql host
  • user: your mysql username
  • passwd: your mysql passwd
  • database: the bootbankjs database name

accounts.json

[
  {
    "bankcode": "59350110",
    "banklogin": "bankuser",
    "bankpin": "bankpassword",
    "bankurl": "https://banking-sl2.s-fints-pt-sl.de/fints30"
  }
]
  • bankcode: the bankcode of your bank
  • banklogin: your banking user for online banking
  • bankpin: your banking password for online banking
  • bankurl: hbci/fints url of your bank

You can add multiple accounts separate by , like

[
  {
    "bankcode": "59350110",
    "banklogin": "bankuser",
    "bankpin": "bankpassword",
    "bankurl": "https://banking-sl2.s-fints-pt-sl.de/fints30"
  },
  {
    "bankcode": "59350110",
    "banklogin": "bankuse2r",
    "bankpin": "bankpassword2",
    "bankurl": "https://banking-sl2.s-fints-pt-sl.de/fints30"
  }  
]

Run

python3 bootbankjs.py 

Built With

  • PyFinTS - A pure-python implementation of FinTS

License

This project is licensed under the MIT License - see the LICENSE file for details