Skip to content

tipikae/DA-JAVA-P9-mediscreen

Repository files navigation

Mediscreen

Mediscreen est une application qui permet d'aider à la détection du diabète. Elle scanne les notes d'un patient, écrites par le praticien, à la recherche de différents mots-clés. Elle évalue ainsi le risque du patient de développer la maladie.

Mediscreen est une application Spring Boot structurée en microservices.

Prerequisites

  • Docker 20.10

Installing

To install Docker, follow the link: https://docs.docker.com/engine/install/

Running

Go to the root repository of the project.

Execute the script start.sh (it may take more than 15 minutes to build the project, the Keycloak migration alone takes about 10 minutes, I don't know why...).

Frontend: localhost:8090, username=user1, password=user1, must have a USER role in Keycloak,

Keycloak: localhost:8070, username=admin, password=admin, client=mediscreen-app,

Eureka: localhost:8761, username=tipikae, password=231045,

Config:

Gateway: localhost:8080

  • API: needs a valid token,
  • Spring Boot Admin: username=tipikae, password=231045,

Spring Boot Admin: localhost:8050, username=tipikae, password=231045,

Zipkin: localhost:9411.

Databases: for all 4 databases: username=tipikae, password=231045

Documentation

API with Swagger: in your browser, open localhost:8080/webjars/swagger-ui/index.html,

Tests with Jacoco:

  • reports: in your browser, open build/jacocoHtml/index.html of each sub-projects,
  • to run the tests:
    • prerequisites:
      • keycloak-service, keycloak-db and note-db must be running,
      • in root folder, execute gradle clean bootJar
      • execute java -jar for mediscreen-config, mediscreen-discovery, mediscreen-proxy, note-service, patient-service, assessment-service and mediscreen-UI in each *sub-project*/build/libs,
    • execute the gradle check task,

Code with Javadoc:

  • javadoc: in your browser, open build/docs/javadoc/index.html of each sub-projects,
  • to run javadoc:
    • execute the gradle javadoc task

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published