The Booking Manager component handles incoming requests from the UI. The requests are processed by checking the current appointments for the Dentist and checking if there is an available slot based on the numbe of dentists. Approved requests are then sent as appointments to the DB.
The component uses the following dependencies:
-Node JS
To run this application Node js is required to be installed.
-MQTT js
MQTT for inter component traffic.
-Mongoose
Mongoose for communication with the Database.
-Opossum
Opossum Circuit Breaker for Fault Tolerance
To Install the Component run the following command from the terminal or command prompt:
npm install
To run the application from terminal or command prompt:
node app.js