Giter Club home page Giter Club logo

banka's Introduction

BANKA (STAY TUNED... Project is still under development phase. )

Build Status Coverage Status

Description

Banka is a light-weight core banking application that powers banking operations like account creation, customer deposit and withdrawals. This app is meant to support a single bank, where users can signup and create bank accounts online, but must visit the branch to withdraw or deposit money.

Project Plan (PIVOTAL TRACKER STORIES): https://www.pivotaltracker.com/n/projects/2320148 UI-pages: https://kechyy.github.io/Banka/UI Hosted API on Heroku: https://kechyy-banka-app.herokuapp.com/api/v1

Features

Below are the features of Banka Application at this point

  • User(client) can Signup
  • User(client) can Login
  • User(client) can create an account
  • User(client) can view transaction history
  • User(client) can view a specific transaction
  • Staff(cashier) can debit(client) account
  • Staff(cashier) can credit(client) account
  • Admin/Staff can view all user acccounts
  • Admin/Staff can view a specific user account
  • Admin/Staff can activate or deactivate an account
  • Admin/Staff can delete a specific user accounts

LANDING PAGE

API Endpoints

HTTP VERB API ENDPOINT FUNCTION INPUT OUTPUT
POST api/v1/auth/signup signUp { firstName: string,
lastName: string
email: string,
password: string,
cpassword: string
}
{
status: 201
data:{
firstName: 'Nkechi',
lastName: 'Ogbonna',
email: '[email protected]',
token: 'kljfkjlfdsakjlfds@#$%'
}
}
POST api/v1/auth/signin signIn {
email: "string",
password: "string,
token: string
}
{
status:200,
data{
fistName: 'Nkechi',
lastName: 'Ogbonna',
token: '949494309ksdkjldfskjl@#$*'
}
}
POST api/v1/account CreateAccount { status: 201
data:{
firstName: string,
lastName: string,
email: string
type: string
}
}
{ status: 201
data:{
firstName: ''Rosemary,
lastName: 'Emmanuel',
type: 'current'
}
}
PATCH api/v1/account:001123456 updateAccount {
accountNumber: number
status: integer,
}
{
status: 200
data:{
firstName: 'Nkechi',
lastName: 'Ogbonna',
accountNumber: 0011234566
status: active,
}
}
DELETE api/v1/account/001123456 deleteAccount {
accountNumber: number
}
{
status: 200
data:{
firstName: 'Nkechi',
lastName: 'Ogbonna',
accountNumber: 0011234566
status: active,
}
}
POST api/v1/transactions/001123456/credit creditAccount {
firstName: 'Grace',
lastName: 'Emmanuel',
accountNumber: 0012345678,
amount: '20000',
}
{
status: 201
{
firstName: 'Grace',
lastName: 'Emmanuel',
accountNumber: 0012345678,
amount: '20000',
oldBalance: '80000',
balance: '100000'
}
}
POST api/v1/transactions/001123456/credit debitAccount {
firstName: 'Grace',
lastName: 'Emmanuel',
accountNumber: 0012345678,
amount: '2000'
}
{
status: 201
{
firstName: 'Grace',
lastName: 'Emmanuel',
accountNumber: 0012345678,
amount: '20000',
oldBalance: '100000'
balance: '80000'
}
}

Installation

  1. Clone this repository below:
  2. https://github.com/kechyy/Banka.git
  3. cd into the repository:
  4. cd Banka
  5. Open the repository in terminal and Install dependencies by running:
  6. npm install
  7. Run "npm start" to start the app
  8. Use Postman to test all endpoints
  9. Run "npm test" to test all endpoints

Technologies

ES6: https://en.wikipedia.org/wiki/ECMAScript

NodeJS: An open-source, cross-platform JavaScript run-time environment which allows you enjoy the features of Javascript off the web browsers and implement server-side web development. Find out here

ExressJS: Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. Find out more

banka's People

Contributors

kechyy avatar

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.