Giter Site home page Giter Site logo

banking_system's Introduction

Banking System

The API handles some of the basics operations of a Banking System.

USER

It includes three different types of users which extends user’s abstract class parameters:

• Admin

Can perform most of the actions in the system. Admins are able to:

  • Check balance (route “/balance/accountNumber/{accountNumber}”);
  • Add balance (route “/balance/add”);
  • Add account (route “/account/add”);
  • Update account status (route “/account/status”);
  • Delete account (route “/account/delete/{accountNumber}”);
  • Decrease balance (route “/balance/decrease”);
  • Add new third-party (route “/thirdparty/add”).

• AccountHolder

Can manage more accounts and realize transactions:

  • Check accounts (route “/accountholder/account/{accountHolderid}”);
  • Check balance (route “/balance/accountholder/{accountNumber}”);
  • Transfer balance (route “/balance/transfer”).

• Third-Party

Are external to the system, but they can:

  • Transfer money (route “/thirdparty/transfer”).

ACCOUNT

Accounts are divided in four categories that extends account’s abstract class parameters:

• CheckingAccount Have a primaryOwner which age is equal or more than 24, a minimumBalance of 250 and a monthlyMaintenanceFee of 12.

• StudentCheckingAccount Have a primaryOwner which age is less than 24 years and don’t have monthlyMaintenanceFee.

• Savings Savings have a default interest rate of 0.0025, a maximum interest rate of 0.5 and a default minimumBalance of 1000.

• CreditCard CreditCard have a creditLimit of 100 and interestRate of 0.2.

Postscript: Due to the fact that only a few accounts have been created, the tests run properly only when run one by one.

banking_system's People

Contributors

pierogio avatar

Watchers

 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.