{"id":20170148,"url":"https://github.com/johnntirintis/bank-application","last_synced_at":"2025-10-05T16:53:15.761Z","repository":{"id":178565976,"uuid":"654564507","full_name":"JohnNtirintis/Bank-Application","owner":"JohnNtirintis","description":"Java-based simulation of a banking system with support for various account types and operations, demonstrating principles of OOP and exception handling","archived":false,"fork":false,"pushed_at":"2023-07-04T08:27:11.000Z","size":13,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T01:05:45.554Z","etag":null,"topics":["banking-system","java","object-oriented-programming","oop"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohnNtirintis.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-16T12:03:54.000Z","updated_at":"2025-05-02T07:46:25.000Z","dependencies_parsed_at":"2023-07-26T07:02:26.517Z","dependency_job_id":null,"html_url":"https://github.com/JohnNtirintis/Bank-Application","commit_stats":null,"previous_names":["johnntirintis/bank-application"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JohnNtirintis/Bank-Application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnNtirintis%2FBank-Application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnNtirintis%2FBank-Application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnNtirintis%2FBank-Application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnNtirintis%2FBank-Application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnNtirintis","download_url":"https://codeload.github.com/JohnNtirintis/Bank-Application/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnNtirintis%2FBank-Application/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278486278,"owners_count":25994941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["banking-system","java","object-oriented-programming","oop"],"created_at":"2024-11-14T01:17:26.734Z","updated_at":"2025-10-05T16:53:15.742Z","avatar_url":"https://github.com/JohnNtirintis.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Banking System in Java\n\nThis repository contains a basic simulation of a banking system implemented in Java. The project demonstrates the principles of Object-Oriented Programming (OOP) such as inheritance and encapsulation.\n\n## Description\n\nThe system supports operations like deposit and withdrawal for different types of bank accounts: Regular, Overdraft, and Joint Overdraft. It includes validation checks and custom exceptions for various potential issues such as insufficient balance, invalid social security numbers, or withdrawal amounts.\n\n### The main classes included in the project are:\n\n1. `User`: Represents a user or account holder with properties like first name, last name, and social security number.\n2. `Account`: Represents a bank account with operations like deposit and withdrawal.\n3. `JointAccount`: Inherits from `Account` and represents a bank account jointly held by two users.\n4. `OverdraftAccount`: Inherits from `Account` and represents an overdraft account, which allows for negative balance.\n5. `OverdraftJointAccount`: Inherits from `JointAccount` and represents a joint overdraft account.\n\nAdditionally, the `IdentifiableEntity` class is used as a base class for entities that require a unique identifier.\n\n### Custom exceptions used in this project are:\n\n1. `InsufficientAmountException`: Thrown when the deposit or withdrawal amount is zero or negative.\n2. `InsufficientBalanceException`: Thrown when the withdrawal amount exceeds the account balance.\n3. `SsnNotValidException`: Thrown when the social security number provided does not match the account holder's.\n\n## Installation and Usage\n\nThe project can be run using any Java IDE or from the command line by compiling the java files and running the Main.java file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnntirintis%2Fbank-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnntirintis%2Fbank-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnntirintis%2Fbank-application/lists"}