The RESTful API for Laboratory Internal Quality Control is designed to assist clinical and research laboratories in monitoring and controlling the quality of their processes. This API provides endpoints to manage information related to control standards, test results, statistical analyses, and other activities essential for ensuring the accuracy and reliability of laboratory data.
The API efficiently manages package insert values and test values, offering simple and intuitive CRUD operations.
.
├── .github/workflows # GitHub Actions workflow configurations
├── src
│ ├── main
│ │ ├── java/leonardo/labutilities/qualitylabpro
│ │ │ ├── configs # Application configurations
│ │ │ │ ├── date # Date/time configurations
│ │ │ │ ├── docs # API documentation configs
│ │ │ │ ├── rest # REST configurations
│ │ │ │ └── security # Security configurations
│ │ │ ├── constants # Constant definitions
│ │ │ ├── controllers # REST controllers
│ │ │ ├── dtos # Data Transfer Objects
│ │ │ ├── entities # Domain entities
│ │ │ ├── enums # Enumerations
│ │ │ ├── repositories # Data access layer
│ │ │ ├── services # Business logic
│ │ │ └── utils # Utility classes
│ │ └── resources
│ │ ├── db/migration # Flyway migrations
│ │ └── application*.properties
│ └── test
│ └── java # Test classes
├── database # Database scripts
├── nginx # Nginx configurations
└── docker-compose*.yml # Docker compose files
configs/
: Configuration classes for security, documentation, and morecontrollers/
: REST API endpoints organized by domainservices/
: Business logic implementationsdtos/
: Data Transfer Objects for API requests/responsesentities/
: Domain model classesrepositories/
: Database access layerutils/
: Helper classes and utilities.github/workflows/
: CI/CD pipeline configurations
This project uses GitHub Actions for automated testing and deployment. Our CI/CD pipeline includes:
- Automated build and test execution
- Code quality checks
- Docker image building
- Automated deployment to staging/production environments
You can view the workflow configurations in the .github/workflows
directory.
Run the command below in Git Bash or Terminal to clone the repository:
git clone https://github.com/LeonardoMeireles55/QualityLabPro.git
In the project root directory, run the command:
docker-compose up or docker compose up
http://localhost:8080/swagger-ui.html
To run tests with detailed output:
./mvnw test -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG
For even more detailed test output:
./mvnw test -X
When running with docker-compose, you can view test output in real-time:
docker-compose logs -f app
To see test execution during build:
docker-compose up --build --force-recreate
Handles analytics related to coagulation tests.
Handles analytics related to biochemistry tests.
Handles analytics related to hematology tests.
Manages endpoints for coagulation analytics.
Manages endpoints for biochemistry analytics.
Manages endpoints for hematology analytics.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0) - see the LICENSE file for details.
The GPL-3.0 ensures that:
- The software remains open source
- Any modifications or derived works must also be released under GPL-3.0
- Source code must be made available when distributing the software