Skip to content

Repository files navigation

Employee Management System - Spring Boot Project

This is a Spring Boot project designed to manage employee data. It provides RESTful APIs for creating, updating, retrieving, and deleting employee information. The project uses H2 as an in-memory database, integrates Swagger for API documentation, and follows best practices in REST API design.

Features

  • Create Employee: Add new employees to the system.
  • Update Employee: Update existing employee details.
  • Get Employee(s): Retrieve employee data by ID or get all employees with pagination.
  • Delete Employee: Remove employees from the system.
  • Exception Handling: Centralized exception handling using @RestControllerAdvice.
  • Swagger Integration: For API documentation and testing.
  • In-Memory H2 Database: For development and testing purposes.

Technologies Used

  • Java 21
  • Spring Boot 3.0+
  • Spring Data JPA
  • H2 Database
  • Swagger (Springdoc OpenAPI)
  • Maven

Setup and Installation

Prerequisites

  • Java 21+
  • Maven
  • IDE (e.g., IntelliJ, Eclipse)

Clone the Repository

git clone <repository-url>cd employee-management-system
# Swagger UI Path
springdoc.swagger-ui.path=/swagger-ui/index.html#/
![Swagger UI Screenshot](https://github.com/CemHarput/EmployeeCrudAPI/blob/master/swagger.png)

About

EmployeeCrudAPI

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages