Skip to content

A simple Banking Management System implemented in TypeScript using Object-Oriented Programming (OOP) principles. This project demonstrates the concepts of inheritance and polymorphism through a basic banking application.

Notifications You must be signed in to change notification settings

AsheemRahman/Banking-Management-System-TypeScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banking Management System

A simple Banking Management System implemented in TypeScript using Object-Oriented Programming (OOP) principles. This project demonstrates the concepts of inheritance and polymorphism through a basic banking application.

Features

  • Account Management: Create and manage different types of bank accounts.
  • Deposits and Withdrawals: Perform deposits and withdrawals on accounts.
  • Account Listing: List all accounts and their details.

Technologies Used

  • TypeScript
  • Node.js (optional for running the project)
  • OOP Principles

Classes

  1. Account: Base class for all account types.

    • Properties: accountNumber, accountHolder, balance
    • Methods: deposit(), withdraw(), getDetails()
  2. SavingsAccount: Inherits from Account and adds an interest rate.

    • Additional Property: interestRate
    • Overridden Method: getDetails()
  3. CurrentAccount: Inherits from Account and adds an overdraft limit.

    • Additional Property: overdraftLimit
    • Overridden Method: getDetails()
  4. Bank: Manages all bank accounts.

    • Properties: accounts (array of Account)
    • Methods: addAccount(), listAccounts(), findAccount()

Installation

  1. Clone the repository:
    git clone  https://github.com/AsheemRahman/Banking-Management-System-TypeScript.git
    cd Banking-Management-System-TypeScript
  2. Install dependencies:
    npm install
  3. Compile TypeScript to JavaScript
    tsc
  4. Run the application:
    node public/index.js

About

A simple Banking Management System implemented in TypeScript using Object-Oriented Programming (OOP) principles. This project demonstrates the concepts of inheritance and polymorphism through a basic banking application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published