Giter Club home page Giter Club logo

neo-bank-app's Introduction

Neo Bank App

{% test %}

A modern banking app wrapper that displays your banking information in a convenient manner. Proposed features include a graph display of your earnings/spending and the ability to send/recieve money. Current features include a secure login page with comprehensive error-handling and a custom cookie tracking solution. Example demo

Table of Contents

  1. Requirements
  2. Usage
  3. API Routes
  4. API Examples
  5. Testing
  6. Future Features

Requirements

An nvmrc file is included if using nvm.

  • Node 8.10.0

Usage Insert API client ID and secret in server/config/indexExample.js, then rename it to index.js.

From within the root directory:

npm install
npm run react-dev
npm start
  • In a browser, go to: localhost:3000

Credentials

Type Value Description
Username synapse_good Working username
Password test1234 Working password
MFA test_answer Takes you to dashboard
MFA again Requires another MFA step

REST API Routes

Type Route Description
POST /api/v1/users/create Creates a user with a given username and password in body
POST /api/v1/users/authenticate Authenticate a user with the provided MFA key

API Examples

POST: /api/v1/users/authenticate

  • Authenticate a user (MFA):
{
  data: {
  error_code: '0',
  http_code: '200',
  limit: 2,
  node_count: 2,
  nodes: [{
    ...
    }]
  }
}

Testing

From within the root directory:

npm test

Future features

Todo:

  • Add timeline showing transactions over time
  • Allow money transfer
  • Show money-in/money-out for each account
  • Allow switching account to change graph
  • Delete MySQL cookie entries after token expires
  • Clear cookies and set expiration time

Bugs:

  • isLoggedIn sets to true upon refreshing on MFA authentication screen

neo-bank-app's People

Contributors

umairnadeem avatar

Stargazers

Agada Kingsley avatar DisPaisy avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

vaibhavantil

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.