Skip to content

Chandankumar2004/EMS

Repository files navigation

🧑‍💼 Employee Management System

(Java + Swing + MySQL)

A fully functional Employee Management System built using Java Swing for GUI and MySQL for database operations.


📸 Project Screenshots

All images are stored in the projectEMSImg/ folder:

1. 🏠 Home Screen

Home Screen


2. ➕ Onboard Employee

Onboard Employee


3. 📋 View All Employees

View All


4. 🔍 Search Employee

Search


5. ✏️ Update Employee

a. Enter ID to Update

Update Step 1

b. Edit & Save Details

Update Step 2


6. ❌ De-board Employee

DeBoard


🚀 Features

✅ Add New Employee
✅ View All Employees
✅ Search by Employee ID
✅ Update Employee Record
✅ Delete/De-board Employee
✅ User-friendly GUI with Java Swing
✅ Database-backed operations using MySQL


🛠 Tech Stack

Technology Role
Java Core Application Logic
Java Swing User Interface
MySQL Data Persistence
JDBC Database Connectivity

📦 How to Run Locally

# 1. Clone the repository
git clone https://github.com/Chandankumar2004/EMS.git
cd EMS

# 2. Open in your Java IDE (IntelliJ / Eclipse)
# 3. Ensure MySQL is running and create the database:

CREATE DATABASE emp_db;

# 4. Update database credentials in DBConnection.java:

String url = "jdbc:mysql://localhost:3306/emp_db";
String user = "root";
String password = "yourpassword";

# 5. Run Home.java to launch the system

📁 Project Structure

EMS/
├── src/
│   ├── Home.java
│   ├── OnboardEmployee.java
│   ├── DisplayAll.java
│   ├── SingleEmployee.java
│   ├── UpdateEmployee.java
│   ├── DeBoardEmployee.java
│   └── DBConnection.java
├── db.sql (optional)
└── README.md

🙋‍♂️ Author

Chandan Kumar Chaurasiya
🔗 LinkedIn
🌐 Portfolio
📧 Email: chandan32005c@gmail.com


Star this repository to support the project and help others discover it!

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages