{"id":25803571,"url":"https://github.com/nikhilkashyap22/banking-module-backend-code","last_synced_at":"2026-06-24T01:32:35.909Z","repository":{"id":298435328,"uuid":"889013584","full_name":"NikhilKashyap22/Banking-Module-backend-code","owner":"NikhilKashyap22","description":"The Bank of Success Pvt LTD banking module is a Java-based application simulating core banking functionalities, designed to manage Savings and Current account types with distinct attributes and behaviors. ","archived":false,"fork":false,"pushed_at":"2024-11-15T12:59:05.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T05:05:04.915Z","etag":null,"topics":["corejava","hibernate","java","mysql"],"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/NikhilKashyap22.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,"zenodo":null}},"created_at":"2024-11-15T12:49:20.000Z","updated_at":"2025-02-10T08:48:23.000Z","dependencies_parsed_at":"2025-06-11T05:05:06.443Z","dependency_job_id":"49f5bd7e-df3b-4554-ad5f-1d388e8ef24e","html_url":"https://github.com/NikhilKashyap22/Banking-Module-backend-code","commit_stats":null,"previous_names":["nikhilkashyap22/banking-module-backend-code"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NikhilKashyap22/Banking-Module-backend-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilKashyap22%2FBanking-Module-backend-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilKashyap22%2FBanking-Module-backend-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilKashyap22%2FBanking-Module-backend-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilKashyap22%2FBanking-Module-backend-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikhilKashyap22","download_url":"https://codeload.github.com/NikhilKashyap22/Banking-Module-backend-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikhilKashyap22%2FBanking-Module-backend-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34713789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"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":["corejava","hibernate","java","mysql"],"created_at":"2025-02-27T17:56:31.942Z","updated_at":"2026-06-24T01:32:35.891Z","avatar_url":"https://github.com/NikhilKashyap22.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Bank of Success Pvt LTD - Banking Module\n\n### Project Overview\nThe **Bank of Success Pvt LTD** banking module is a Java-based application simulating core banking functionalities, designed to manage **Savings** and **Current** account types with distinct attributes and behaviors. This project leverages **Object-Oriented Programming (OOP)** principles, **SOLID principles**, and **JDBC** to enable data persistence, ensuring code clarity, maintainability, and integration with relational databases.\n\n### Key Features\n1. **Account Types**:\n   - **Savings Account**: Includes personal attributes like date of birth, gender, and phone number.\n   - **Current Account**: Includes business-related attributes like company name, website, and registration number.\n\n2. **Common Account Attributes**:\n   - **Account Information**: Unique account number, account holder's name, pin number, and balance.\n   - **Account Privileges**: Enum values (PREMIUM, GOLD, SILVER) defining different privilege levels.\n   - **Account Status**: Tracks if the account is active or inactive, with activation and closure dates.\n\n3. **Database Persistence**:\n   - Uses **JDBC** to connect to a MySQL database, enabling account information to be stored, retrieved, and managed in **MySQL Workbench**.\n   - Provides a relational structure to store and query account details efficiently.\n\n### Technical Concepts\n- **Object-Oriented Programming (OOP)**:\n  - **Encapsulation**: Each account type encapsulates its own attributes and methods, which are not directly accessible outside their respective classes.\n  - **Inheritance**: Common attributes and behaviors are defined in a base `Account` class, which is inherited by `SavingsAccount` and `CurrentAccount` subclasses.\n  - **Polymorphism**: Common methods in the base `Account` class can be overridden by subclasses to provide specific implementations where needed.\n\n- **Java Enums**: The `Privilege` enum defines specific levels for accounts, improving readability and ensuring type safety.\n\n- **JDBC and MySQL Integration**: The project uses **JDBC** to interface with a MySQL database, ensuring reliable data storage and retrieval.\n\n- **Exception Handling**: Includes robust exception handling to manage errors such as invalid account actions, unauthorized access, and database connection issues.\n\n### Application of SOLID Principles\n1. **Single Responsibility Principle (SRP)**: Each class has a single responsibility, such as account-specific attributes, business logic, or data access.\n  \n2. **Open/Closed Principle (OCP)**: The project is open for extension but closed for modification, allowing new account types or functionalities without altering existing code.\n\n3. **Liskov Substitution Principle (LSP)**: Subclasses like `SavingsAccount` and `CurrentAccount` can be used interchangeably with the `Account` class without impacting program correctness.\n\n4. **Interface Segregation Principle (ISP)**: Interfaces separate actions, making each interface focused on specific functionalities, like deposit/withdrawal or account status.\n\n5. **Dependency Inversion Principle (DIP)**: The project relies on abstractions rather than concrete classes, enhancing flexibility and testability.\n\n### Technologies and Tools\n- **Java**: Core language for implementing the banking module.\n- **JDBC**: Used for database connectivity and data manipulation.\n- **MySQL Workbench**: Manages account data in a relational database.\n- **JUnit** (if applied): Unit testing each class and method.\n- **Eclipse IDE**: Development environment for building and debugging.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilkashyap22%2Fbanking-module-backend-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikhilkashyap22%2Fbanking-module-backend-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilkashyap22%2Fbanking-module-backend-code/lists"}