Run Status Coverage Badge MIT licensed

DefPub REST Service

Requirements:

  • Java 11 or higher
  • Maven 3.3 or higher
  • Docker (optional)

How to build and to run:

  • to run the app with embeded H2DB just put these properties to 'application.properties' file in app's resources folder:
spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.username=sa
spring.datasource.password=
  • run next commands in the console:
mvn clean package
mvn spring-boot:run

How to build and to run with Docker:

  • build app with Maven as described in steps above
  • build Docker image
docker build -t defpub-rest-service .
  • run Docker container
docker run -p 8080:8080 defpub-rest-service

Useful links: