This project is done using third party Nordigen Node example with Express.js API to create a dashboard where users details, acount balances and transactions data will be displayed in the UI after getting authorisation and authentication with the chosen bank.
You'll need to get your SECRET_ID
and SECRET_KEY
from the Nordigen's Open Banking Portal.
In index.js file provide the token as a parameter for NordigenClient
.
// Pass secretId and secretKey to NordigenClient instance as a string or load from .env file
// Client details can be generated from OB portal
const client = new NordigenClient({
secretId: process.env.SECRET_ID,
secretKey: process.env.SECRET_KEY,
});
To initialize session with a bank, you have to specify country
(a two-letter country code)
const COUNTRY = "FI";
Install dependencies
npm install
Start project
npm start