Welcome to the Dentist API! This API is intended to handle communication between micro services and a Dentist client.
This service is written in NodeJS. Check this link for more information about NodeJS..
To run this service you need to follow the steps described below:
If you do not have NodeJS installed on your computer you can download both brew and NodeJS with these commands:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
If this command does not work, check here.
brew install node
The .env file contains information about the MQTT broker. This informatin is best contained locally on your computer, to keep your connections private. You will have to insert a BROKER_URL (separated in to MQTT_HOST and MQTT_PORT).
For our instances of the service, we used a HIVE private broker.
MQTT_HOST='YOUR_HOST'
MQTT_PORT='YOUR_PORT'
MQTT_PROTOCOL='YOUR_PROTOCOL'
MQTT_USERNAME='YOUR_USERNAME'
MQTT_PASSWORD='YOUR_PASSWORD'
In order to build and run the Dentist API you need to type these commands in to your terminal:
npm install // run this command if you have not already installed npm
npm run dev
Congratulations! You are now running the Dentist API.
This service will not get updated in the future, due to project being considered as closed when GU course DIT356 is finished.
This service is a part of DIT356 distributed systems course, and is created by Group 20. Check here for more information about the entire project.
WIP DUE TO SERVICE STILL BEING DEVELOPED
In this service the following people have contributed:
- Lucas Holter
- Cornelia Olofsson Larsson
- James Klouda
- Jonatan Boman
- Mohamad Khalil
- Joel Mattson
The service may recieve updates until 9th January 2024, and none after.