A simple implementation of CRUD operations using Spring Boot + React as front-end to make an user interface to manage employees.
POST /humanresource/employees
Parameter | Type | Description |
---|---|---|
employee |
Employee |
Required. Employee object |
GET /humanresource/employees
Parameter | Type | Description |
---|---|---|
`` | `` | no parameter needed |
PUT /humanresource/employees
Parameter | Type | Description |
---|---|---|
employee |
Employee |
Required. Employee object |
DELETE /humanresource/employees/{id}
Parameter | Type | Description |
---|---|---|
id |
Long |
Required. Employee id |
Clone the project
git clone https://github.com/dipeshsingh253/Employee-Management-System
Go to the project directory
cd Employee-Management-System
Install dependencies (Go to employee-ui)
npm install
Start the server
npm run start
Install dependencies (Go to Employee-Management-System)
./mvnw install (only if maven is not installed)
Start the server
./mvnw spring-boot:run
Visit the link
http://localhost:3000/addemployee