A simple Java-based Employee Management System that interacts with a database to perform CRUD (Create, Read, Update, Delete) operations.
- Create a new employee
- Display all employees
- Display employee by ID
- Update employee details
- Delete an employee
- Java
- MYSQL
- Java Development Kit (JDK) installed
- MSQL Server installed and running
- Clone the repository:
git clone https://github.com/Dancan254/EmployeeManagementSystem.git
cd EmployeeManagementSystem- Compile the Java code:
javac -d bin src/com/yourusername/employee/*.java- Run the application:
java -cp bin com.yourusername.employee.EmployeeManagementSystem-
Create a new employee:
Follow the prompts to enter employee details.
-
Display all employees:
Choose the option to display all employees.
-
Display employee by ID:
Choose the option to display an employee and enter the employee ID.
-
Update employee details:
Choose the option to update an employee's details and follow the prompts.
-
Delete an employee:
Choose the option to delete an employee and enter the employee ID.
If you would like to contribute to the project, follow these steps:
- Fork the repository.
- Create a new branch for your feature:
git checkout -b feature/your-feature. - Commit your changes:
git commit -m 'Add some feature'. - Push to the branch:
git push origin feature/your-feature. - Submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.