11- Creating Second Project in STS
We are creating our second spring boot application
Through which REST Clients should be able to1- Get a list of employees.
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 Resources
Http Method | URL Path | Status Code | Description |
---|---|---|---|
GET | /api/employees | 200(OK) | Get All Employees |
GET | /api/employees/{id} | 200(OK) | Get a single employee by id |
POST | /api/employees | 201(Created) | Create a new Employee |
PUT | /api/employees/{id} | 200(OK) | Update an existing employee by id |
DELETE | /api/employees/{id} | 200(OK) | Delete existing employee by id |
Tools and Technologies to be Used for Project
--> Spring Boot
--> Spring Data JPA(internally uses hibernate)
--> JDK
--> Embedded Tomcat Server
--> MySQL Database
--> Maven
--> Eclipse STS
--> Postman Client API
Comments
Post a Comment