Skip to content

fusionfabric/ffdc-sample-corporate-webapp

Repository files navigation

FFDC Sample app

Sample Corporate Banking application using Finastra's Design System for the front-end and FusionFabric.cloud for backend.

Repo License PRs welcome

Deploy with Heroku


Demo

Sample app gif


Installation

  1. Register an application on FFDC

You need to register an application on FusionFabric.cloud Developer Portal and select Account and Balances - B2C API .

  1. Setup environment variables

Rename .env.template to .env and setup OIDC_CLIENT_ID , OIDC_CLIENT_SECRET from the application created at step 1.

  1. Run npm i

Build

This application contains two applications :

  • Angular Application
  • NestJs application

So you need to run two commands :

npm run dev           # client build in watch mode
npm run start:server  # server build in watch mode

Go to http://localhost:3000 and enjoy your demo application 😊

To build for production, use npm run build:prod, which will build both the client and server !


Credentials

For testing purpose, you can login with one of the following credentials:

User Password
ffdcuser1 123456
ffdcuser2 123456

Environement variables

Variable Default value
OIDC_CLIENT_ID
OIDC_CLIENT_SECRET
SESSION_SECRET Generated uiid
FFDC https://api.fusionfabric.cloud
PORT 3000
OIDC_ISSUER https://api.fusionfabric.cloud/login/v1/sandbox
OIDC_TOKEN_URL https://api.fusionfabric.cloud/login/v1/sandbox/oidc/token
OIDC_SCOPES openid profile
OIDC_ORIGIN http://localhost:3000

License

These sample applications are released under the MIT License. See LICENSE for details.


Brought to you by Finastra