Employee Management Server is a microservice which is developed by using Spring Boot ,Spring MVC , Spring Data JPA , Hibernate, Project Lombok , MySql , Embedded Tomcat Server & Rest API.
It does the basic CRUD operations & exposed by using Rest API .
git clone git@github.com:jmriyaz84/employee-management-server.git
mvn clean install
mvn spring-boot:run
URL : http://localhost:8080/employees
URL : http://localhost:8080/addEmployee
Request :
{
"firstName": "Imran",
"lastName": "Malik",
"dateOfBirth": "24-Apr-1980",
"age": 40,
"salary": 30000,
"dateOfJoin": "20-May-2010",
"yearOfExperience": 10,
"reportingManager": "William Brown",
"address": "Al Nahda",
"city": "Lahore",
"country": "Pakistan"
}
URL : http://localhost:8080/employee/7
URL : http://localhost:8080/employees/Robert
URL : http://localhost:8080/employee/5
Request
{
"firstName": "Robert",
"lastName": "Bush",
"dateOfBirth": "24-Apr-1980",
"age": 35,
"salary": 30000,
"dateOfJoin": "20-May-2010",
"yearOfExperience": 20,
"reportingManager": "William Gate",
"address": "Al Nahda",
"city": "London",
"country": "UK"
}
URL : http://localhost:8080/employee/5