This project is a simple account management system implemented in JavaScript. It demonstrates fundamental concepts of Object-Oriented Programming (OOP) such as encapsulation, abstraction, and the use of constructors, getters, setters, and methods. The system allows for the creation of user accounts, deposits, withdrawals, and maintains a transaction history for each account.
- Create Account: Initialize an account with an account holder's name and an initial deposit.
- Add Funds: Deposit money into the account.
- Withdraw Funds: Withdraw money from the account with balance checks.
- Transaction History: Keep track of all deposits and withdrawals with timestamps.
- Account Summary: Generate a summary of account details including balance and transaction history.
- Programming Language: JavaScript (ES6+)
- Testing Framework: Jest
- OOP Concepts: Encapsulation, Constructors, Getters, Setters, Methods, Abstraction
Node.js
npm (Node Package Manager)
To run the tests, use the following command:
npm test
Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas for improvements or new features.