1.0.1 • Published 5 years ago
digitalbankingdemo v1.0.1
digitalbankingdemo
A simple widget demonstrating use of NCR's Digital Banking APIs
Install
npm install --save digitalbankingdemoCreate .env file
Create a .env file in the root folder and fill in the variables. Do not use any quotes or semicolon at the end of line.
REACT_APP_TOKEN_KEY=
REACT_APP_TOKEN_KEY_ALERTS=
REACT_APP_USERNAME=
REACT_APP_PASSWORD=
REACT_APP_INSTITUTIONID=Add proxy in package.json
Add the following line in package.json file.
"proxy": "https://api.ncr.com/digitalbanking",Usage
import React, { Component } from 'react';
import { DBdemo } from 'digitalbankingdemo';
import 'digitalbankingdemo/dist/index.css';
class Example extends Component {
render() {
return <DBdemo/>
}
}License
MIT © mi185073