Skip to content

Shruti627/employee-management-springmvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ‘ฉโ€๐Ÿ’ป Employee Management System (Spring MVC)

Java Maven MySQL Spring


๐Ÿ“ Project Overview

The Employee Management System is a web application built using Spring MVC, Hibernate, and MySQL.
It allows admins to manage employees with features like Add, Update, Delete, and Search employees, and provides login functionality for admin access.


โœจ Features

  • ๐Ÿ”‘ Admin login and authentication
  • โž• Add employee records
  • โœ๏ธ Update employee records
  • โŒ Delete employee records
  • ๐Ÿ” Search employee records
  • ๐Ÿ–ฅ๏ธ JSP-based user interface with navigation
  • ๐Ÿ—„๏ธ Hibernate ORM for database interaction
  • ๐Ÿ“ฆ Maven-based project for easy build and dependency management


๐Ÿ› ๏ธ Technology Stack

Layer Technology
Backend Java, Spring MVC, Hibernate
Frontend JSP, HTML, CSS
Database MySQL
Build Tool Maven
IDE Eclipse
Version Control Git/GitHub

๐Ÿ“‚ Project Structure

EmployeeManagementSystem/
โ”‚
โ”œโ”€โ”€ src/main/java/ โ†’ Java classes (Controllers, Services, Repositories, POJOs)
โ”œโ”€โ”€ src/main/webapp/ โ†’ JSP pages, images, CSS
โ”œโ”€โ”€ src/main/resources/ โ†’ persistence.xml, configuration files
โ”œโ”€โ”€ pom.xml โ†’ Maven build file
โ”œโ”€โ”€ .gitignore โ†’ Git ignore rules
โ””โ”€โ”€ README.md โ†’ Project documentation

๐Ÿ—‚๏ธ ER Diagram

+----------------+        +----------------+
|     Admin      |        |   Employee     |
+----------------+        +----------------+
| admin_id (PK)  |โ—„โ”€โ”€โ”€โ”€โ”€โ”€ | emp_id (PK)    |
| username       |        | name           |
| password       |        | email          |
+----------------+        | department     |
                          | designation    |
                          | salary         |
                          +----------------+

Relationship:
- One Admin can manage multiple Employees (1-to-many)

๐Ÿš€ Setup Instructions

  1. Clone the repository
git clone https://github.com/Shruti627/EmployeeManagementSystem.git

Import into Eclipse

File โ†’ Import โ†’ Existing Maven Project โ†’ Select cloned folder

Right-click project โ†’ Run As โ†’ Maven build or Run on server (Tomcat)

Access in browser: http://localhost:8080/EmployeeManagementSystem/

๐Ÿ”ฎ Future Enhancements

  • Role-based access (Admin vs Employee)
  • Integration with Spring Security for authentication
  • REST APIs for CRUD operations

๐Ÿ‘ฉโ€๐ŸŽ“ Author

Shruti P. Sangvikar โ€“ Third-year Engineering Student

About

"A Java-based web application for managing employee records using the Spring MVC framework."

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages