A Spring MVC web application for Employee Management System with the following CRUD operations in single platform
CRUD Operations 👨🏽💻
-
A Spring MVC web application for Employee Management System with the following CRUD operations:
• Get all the Employee
• Add a new Employee
• Update an Employee
• Delete an EmployeeTable of Contents
Built With :
- Java 17
- Spring Boot
- HTML
- Bootstrap
- Thymeleaf
- Spring MVC
- Spring Data JPA
- Hibernate
- Maven
- PostgreSQL Database
- Spring-Boot-Devtools
-
Pagination:
-
Sorting:
- dependencies
dependencies : Spring Boot DevTools Spring Data Jpa PostgreSQL Driver Thymeleaf Spring Web Spring Web Services
- to run the project
intellij/eclipse
- to build the project for production
Go to start.spring.io. Choose Maven, set Group and Artifact names. Pick Java version and add any dependencies (e.g., Spring Web, Spring JPA). Click Generate to download the project as a .zip file. Extract and import it into your IDE. Run the main method in DemoApplication.java to start the app. https://start.spring.io/
_Follow these simple steps to get the server up and running 👾🧮🚀✅._
- Create Database -> employe_management_system_webapp
- Open project in preferred IDE (I used SpringToolsSuite4)
- Run the project as a Spring Boot app.
- Hibernate will automatically create a table -> employee
- Add sample data to the table using Postgresql pgadmin tools
- Open web browser at localhost: 8080/
- Add, Update, Delete records and Pagination, Sorting according alphabetically from the web app