Inventory service acts as a medicine inventory management and dispensing unit that helps in distributing the medicine to the pateint as per the prescription. Exposes below set of features as REST APIs.
- Item tracking
- Purchase order management
- Inventory reports
- Create, read, update, and delete inventory items.
- Get inventory levels.
This microservice is built on Java, Spring boot framework and MySQL DB.
- JDK 1.8
- Wildfly 11
- MySQL
- Springboot V2
To install the inventory module, follow these steps:
- Clone the repository to your local machine.
- Install the dependencies
mvn clean install
- You can copy
common_example.properties
tocommon_local.properties
and edit the file accordingly. The file is undersrc/main/environment
folder. - Run the spring server with local configuration
mvn spring-boot:run -DENV_VAR=local
Open the application in your browser. The inventory module will be accessible at http://localhost:3000/inventory.
Inventory module can be used to track items, create purchase orders, generate inventory reports, and scan barcodes. To access the inventory module, navigate to http://localhost:3000/inventory in your browser. You will be able to view all of the items in your inventory, create purchase orders and generate inventory reports.
All other features have been exposed as REST endpoints. Refer to the SWAGGER API specification for details.