Abernathy Services is a Spring Boot applications. Abernathy is the international company that works with health clinics and private practices to screen for disease risks.
Abernathy Services is composed of 3 microservices:
- Patient :
- used on port 8084
- REST API
- CRUD of patient
- Notes:
- used on port 8086
- REST API
- CRUD of notes
- Report:
- used on port 8085
- ThymLeaf intarfaces
- REST API
- Generation of reports
- Java 11
- Gradle
- Spring Boot
- MySql
- MongoDB
- Thymeleaf
- Bootstrap
- Docker
- Docker-Compose
- Feign
- JaCoCo
- Lombok
-
Microservice Patient:
data.sql (available in "/src/main/resources") contains scrypt SQL to populate patients database -
Microservice Notes:
in "/src/main/resources" : the file notesData.json contains data to import to the MongoDB in "/src/main/resources" : the file notesData.csv contains data to import to the MongoDB
-
Localhost: get git branch local
-
Docker: get git branch docker
Gradle
gradle bootRun
Spring Boot
mvn spring-boot:run (run app)
mvn spring-boot:stop (stop app)
Use the Dockerfile on the every package root:
docker build -t name of image .
docker run -d -p name of image
To deploy all Abernathy microservices, use the docker-compose.yml on the package root
docker-compose up -d
The app has unit tests and integration tests written.
You must launch gradle test