Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.16 KB

README.md

File metadata and controls

52 lines (39 loc) · 1.16 KB

Banking API

Dummy banking API

TECH Stack

Install Required Packages

 pip install -r requirements.txt

Running the Application

Go to into the banking API app

cd banking_management

Before running the application we need to create the needed DB tables:

./manage.py migrate

Now you can run the development web server:

./manage.py runserver

User Manual

  • Register as a new user:

  • Login with your user

  • Create some customers: alt text

  • Create an account attached to a customer: alt text

  • Make some transfers between two accounts:

    • you have to follow some rules:
      • Account "from" and "to" should be different
      • The amount of the transfer should <= of the customer balance alt text
  • You can now look at the transfer history for a given account: alt text

  • And finally check balance for a given account: alt text