Skip to content

JustMik/openhospital-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

OpenHospital API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%