Skip to content

User's Medication and Prescription Management Backend Service on Pillwatcher

License

Notifications You must be signed in to change notification settings

PillWatcher/pillwatcher-dpb-patient-service

Repository files navigation

Dispenser Backend Patient Service (DPB) - Pillwatcher

Sonar Cloud Quality Gate Status

DPB Service is an API aimed at feeding any patient's Medication and Prescription control platforms. It can be consumed by both mobile and electronic components.

  • Validated through Travis CI and SonarCloud.
  • Fully documented with Swagger
  • Cloud deployed to fit different users
  • Implements HATEOAS pattern

PillWatcher Logo

Usage

Java + Maven Endpoint

DPB Service uses some Maven provided plugins. It can be build and run through Java 8 and Maven. In that case, those links will be useful:

Windows 1. Installing Java on Windows
  1. Install Maven on Windows
Ubuntu 1. Installing Java on Ubuntu
  1. Installing Maven on Linux
MacOS 1. Installing Java on MacOS
  1. Installing Maven on MacOS

All set, use the following commands:

$ mvn clean install   # This command will install all maven dependencies
$ mvn clean compile   # This command will run CodeGen to create necessary Interfaces
$ mvn spring-boot:run # This command will run the Project

Docker Endpoint

Windows 1. Installing Docker on Windows
Ubuntu 1. Installing Docker on Ubuntu
MacOS 1. Installing Docker on MacOS

All set, use the following commands:

$ docker-compose up    # This command will start both database and Spring Project (no Java or Maven download necessary)
$ docker-compose up -d # This command will do the same but without logs and you will be able to use same terminal instance

PillWatcher Logo

To see docker-compose logs using -d flag, use the command docker-compose --logs

About

User's Medication and Prescription Management Backend Service on Pillwatcher

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published