sabirahmedshaik / employee-management-system

Employee Management System REST Client Application using JDK 17, Spring Boot 3.2.5, Spring Data JPA (Hibernate), Lombok Library, Embedded Tomcat 8.5+, MySQL Database, Maven 3.2+, Eclipse STS, Postman Client
1 stars 1 forks source link
hibernate java maven mysql-database postman-api rest-api spring-boot tomcat8

REST APIs Employee Management System using Spring Boot

Spring Boot Project Architecture:

Post Client ⬄ Controller ⬄ Server ⬄ DAO ⬄ DB

Rest Client should be able to:

  1. Get a list of employee
  2. Get a single employee by id
  3. Create a new employee
  4. Update an existing employee
  5. Delete an employee

REST APIs for Employee Resource:

HTTP Method URL Path Status Code Description
Get /api/employees 200 (OK) Get all employees
Get /api/employees/{id} 200 (OK) Get single employee by id
Post /api/employees 201 (Created) Create a new employee
Put /api/employees/{id} 200 (OK) Update existing employee with id
Delete /api/employees/{id} 200 (OK) Delete and employee by id