- A small spring boot framework structure for easier building of JIT Rest Services
- Domain driven design pattern
- Consisting of flyway migration for easier SQL script management
- Sample Spring Data JPA repository
- Postgres SQL is the backend DB connection used for testing
POST /api/employee/management/group/create
Host: localhost:8081
Content-Type: application/json
Request Body
{
"employeeGroups": [
"Group A",
"Group B",
"Group C",
"Group D"
]
}
- Api for creating the employee role
POST /api/employee/management/role/create
Host: localhost:8081
Content-Type: application/json
Request body:
{
"employeeRoles": [
"Project Manager",
"System Analyst",
"Senior Sofware Engineer",
"Software Engineer"
]
}
- Api to create the employee details
POST /api/employee/management/employee/create
Host: localhost:8081
Content-Type: application/json
{
"dateOfBirth": "YYYY-MM-DD",
"employeeGroups": [
"Group A",
"Group B"
],
"employeeRole": "Senior Software Engineer",
"firstName": "Bob",
"lastName": "Marley",
"organizationName": "XXXXXX",
"target": 20
}
- Api to get all the employee details
GET /api/employee/management/employees
Host: localhost:8081