SecureBank is a Core Java-based banking system designed to manage user accounts and handle various banking operations securely and efficiently. The project offers a user-friendly interface for essential banking functions such as account creation, money transactions, and balance inquiries.
- User Registration and Login: Secure user registration and login functionality.
- Account Management: Create and manage bank accounts with unique identifiers.
- Money Transactions:
- Debit: Withdraw money securely from accounts.
- Credit: Deposit money into accounts.
- Transfer: Transfer funds between accounts securely.
- Balance Inquiry: Check the current balance of the user's account.
- Data Persistence: Utilizes MySQL to securely store user and account data.
- Error Handling and Transaction Management: Ensures smooth operation with transaction rollbacks on failure to maintain data integrity.
- Java: Core language for implementing the banking system.
- MySQL: Database management for storing user and account data.
- JDBC: Java Database Connectivity for MySQL interactions.
- Maven: Project management and build tool.
- Java JDK (version 8 or higher)
- MySQL (version 5.7 or higher)
- Maven (version 3.6 or higher)
- Clone the repository:
git clone https://github.com/mokal2002/SecureBank.git cd SecureBank
A simple console-based Hospital Management System developed in Core Java using MySQL and JDBC. This system manages patients, doctors, and appointments, providing basic CRUD functionalities.
- Add Patient: Register a new patient by entering their name, age, and gender.
- View Patients: Display a list of all patients with their details.
- View Doctors: Display a list of all doctors along with their specializations.
- Book Appointment: Schedule an appointment between a patient and a doctor for a specified date.
- Java: Core Java for application logic.
- JDBC: For connecting and interacting with the MySQL database.
- MySQL: Database to store patient, doctor, and appointment data.
config
: Contains theAppConstants
class for database configuration.service
: Contains service classes (DoctorService
andPatientService
) that handle business logic.validation
: Includes thevalid
class for input validation.HospitalManagementSystem.java
: The main class that drives the application.
-
Doctor Table:
id
: INT, Primary Keyname
: VARCHAR(255)specialization
: VARCHAR(255)
-
Patient Table:
id
: INT, Primary Keyname
: VARCHAR(255)age
: INTgender
: VARCHAR(50)
-
Appointments Table:
id
: INT, Primary Keypatient_id
: INT, Foreign Key referencesPatient(id)
doctor_id
: INT, Foreign Key referencesDoctor(id)
appointment_date
: DATE
- Clone the repository:
git clone https://github.com/yourusername/HospitalManagementSystem.git cd HospitalManagementSystem
The Car Rental System is a simple command-line application that allows users to rent and return cars. It manages car inventory, customer information, and rental transactions. This project demonstrates the use of object-oriented programming concepts such as classes, methods, and encapsulation.
- Car Inventory Management: Maintain a list of cars with attributes like brand, model, and rental price.
- Customer Management: Keep track of customers renting cars, including their personal details.
- Rent a Car: Allows customers to rent a car from the available inventory, with rental costs calculated based on the number of days.
- Return a Car: Allows customers to return a rented car, updating the car’s availability status.
- Dynamic Pricing: Calculates the total rental price based on the car's base price and the duration of the rental period.
- Java: The primary programming language used for developing the application.
- Object-Oriented Programming: Used to structure the code with classes and objects.
- Collections Framework: Utilized for managing lists of cars, customers, and rentals.
- Command-Line Interface: The application runs in a command-line environment, allowing users to interact with the system through text input and output.