1.0.1 • Published 3 years ago

digitalbankingdemo v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

digitalbankingdemo

A simple widget demonstrating use of NCR's Digital Banking APIs

NPM JavaScript Style Guide

Install

npm install --save digitalbankingdemo

Create .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