This CRUD (Create, Read, Update, Delete) application serves as a user-friendly emoployee Management System. Built using java as a backend and bootstrap as a front-end , it enables efficient management of employees. Perform essential operations - create, view, update, and delete employees with ease. In CRUD-APP these technologies have been used Spring Boot Web, Spring Data JPA & Hibernate, MySQL Database, Thymeleaf, HTML5 & Bootstrap Spring Data JPA Test.
Explore the powerful features that make this CRUD project with Spring Boot exceptional:
Perform Create operations seamlessly on entities through a well-designed and intuitive API with ‘create’ button.
Allows you to easily read employee data.
Modify the information of existing emoloyees using the ‘Update’ button.
Remove employee with a single click using the ‘Delete’ button.
Before you begin, ensure you have met the following requirements:
Step 1: Create a Spring Boot Project You can use Spring Initializr to generate a basic Spring Boot project. Visit start.spring.io and configure your project with the following settings:
Step 2: Extract and Import into IDE Extract the downloaded zip file and import the project into your preferred IDE (IntelliJ IDEA, Eclipse, etc.).
Step 3: Define Entity Create a simple entity class representing the object you want to manage. For example, if you are building a CRUD application for employees, create a employee class.
Step 4: Create Repository Create a repository interface for your entity to perform CRUD operations.
Step 5: Create Controller Create a controller to handle HTTP requests and interact with the repository.
Step 6:Create simple frontend You can test your CRUD operations using tools like cURL, Postman, or by creating a simple frontend using bootstrap 5 like m.
Step 7: Run Your Application Run your Spring Boot application. It will start a server at http://localhost:8080.
Step 1: Add Spring Security Dependency.🛡️
Step 2: Handle User Authentication.🔐
Step 3: Secure Endpoints
Step 4: Define User Roles.🗝️
Experience the functionality of the project in action!
https://github.com/Mohamad-shosha/CRUD-APP/assets/150439621/4d162eeb-76c0-419f-bf11-a95ec06f5d0