An open API service indexing awesome lists of open source software.

https://github.com/blaze-b/spring-boot-skeletal-framework

Domain driven design pattern
https://github.com/blaze-b/spring-boot-skeletal-framework

flyway-migrations postgresql spring-boot swagger-ui

Last synced: about 2 months ago
JSON representation

Domain driven design pattern

Awesome Lists containing this project

README

          

# Spring Boot Skeletal Framework

- 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

## Api details to test

- Swagger UI details
![alt text](https://github.com/brianblaze14/spring-boot-skeletal-framework/blob/master/images/Swagger-api.PNG)

- API for creating the employee group

  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