Employee Control System is a web application built using Rest API, DTO pattern, Hibernate, Lombok, Swagger, and mapStruct.
The app allows users to perform various CRUD (Create, Read, Update, Delete) operations on a database. The DTO pattern is used to efficiently transfer data between layers, while Hibernate simplifies the database operations. Swagger is used for documentation, and mapStruct streamlines the mapping of DTOs.
The tests cover both unit and integration testing, ensuring the reliability and efficiency of the app.
- Rest API
- DTO pattern
- Hibernate
- Lombok
- Swagger
- mapStruct
- flyway
- docker
To install the app, follow these steps:
- Clone the repository.
- Run
mvn clean install
to install the required dependencies. - Start the application using
mvn spring-boot:run
.
You can also run application in docker by following next instruction.
- Clone the repository.
- Compile project by using
mvn clean install
. - Run docker on your computer.
- Use
docker-compose up --build
to run backend.
To use the app, follow these steps:
- Open the Swagger UI in your web browser:
http://localhost:8087/swagger-ui.html
. - Use the API endpoints to perform CRUD operations on the database.