This is the API project of Open Hospital: it exposes a REST API of the business logic implemented in the openhospital-core project.
For the moment, to build this project you should
-
fetch and build the core project
git clone https://github.com/informatici/openhospital-core.git cd openhospital-core mvn clean install -DskipTests=true
-
clone and build this project
git clone https://github.com/informatici/openhospital-api cd openhospital-api mvn clean install -DskipTests=true
-
call services URL base: localhost:8080/oh-api/patients URL swagger: http://localhost:8080/oh-api/swagger-ui.html
-
set rsc/database.properties
DB can be created with `docker-compose up` from `openhospital-core` or using a dedicated MySQL server
-
start openhospital-api
java -jar openhospital-api-<version>.jar
Service available on localhost:8080