Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.24 KB

README.md

File metadata and controls

37 lines (22 loc) · 1.24 KB

Open Hospital API Build Status

This is the API project of Open Hospital: it exposes a REST API of the business logic implemented in the openhospital-core project.

How to build [WIP]

For the moment, to build this project you should

  1. fetch and build the core project

    git clone https://github.com/informatici/openhospital-core.git
    cd openhospital-core
    mvn clean install -DskipTests=true
    
  2. clone and build this project

    git clone https://github.com/informatici/openhospital-api
    cd openhospital-api
    mvn clean install -DskipTests=true
    
  3. call services URL base: localhost:8080/oh-api/patients URL swagger: http://localhost:8080/oh-api/swagger-ui.html

  4. set rsc/database.properties

    DB can be created with `docker-compose up` from `openhospital-core` or using a dedicated MySQL server
    
  5. start openhospital-api

    java -jar openhospital-api-<version>.jar
    

Service available on localhost:8080