Most healthcare centers have a system that is used to make doctor appointments. To check the availability of the doctors for a particular time, users typically need to visit the hospitals or use each and every online system that is dedicated for a particular healthcare center. Here, we are making it easier for patients by orchestrating those isolated systems for each healthcare provider and exposing a single interface to the users.
For thorough explanation, please visit Quick Start Guide.
- Install ActiveMQ via this link or you can also unzip the one in this git repo.
- Export it and put it in your working folder
- To activate the ActiveMQ, execute
cd apache*/apache*/ & bin\activemq start
- Clone this repository
git clone https://github.com/rannnayy/activeMQ-exploration.git
- Activate the back end mock up
java -jar .\DoctorInfo-JDK11.jar
- Firstly, fill the message queue by the data obtained from the backend.
node rsPineValley.js
node rsGrandOak.js
- Secondly, when the queue is filled, activate the hospital app by typing
node hp.js
The HospitalApp will then retrieve the data in the Message Queue without dequeueing them.
The diagram above depicts the solution we built. The message broker retrieve the data from both back ends, then store them. Then, the client can obtain the data from the queue.
- Maharani Ayu Putri Irawan / 13520019
- Muhammad Risqi Firdaus / 13520043
- Dimas Shidqi Parikesit / 13520087