Welcome to the User service! This service handles request for publishing, updating and deleing users. Users can be either a Patient or a Dentist.
This service is written in Go. Check this link for more information about GO.
To run this service you need to follow the steps described below:
First you need to Clone the repo in to a folder in your computer, if you dont know how to do it check this guide.
If you do not have GO installed on your computer you can download both brew and GO with these commands:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install go
The .env file contains information about the MQTT broker and mongoDB. This informatin is best contained locally on your computer, to keep your connections private. You will have to insert a MONGO_URI for your database and a BROKER_URL.
For our instances of the service, we used a HIVE private broker.
MONGO_URI = "YOUR_URI"
BROKER_URL = "YOUR_BROKER:PORT_NR"
In order to build and run the User service you need to type these commands in to your terminal:
go build
go run main.go
Congratulations! You are now running the User Service.
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:
- Mohamad Khalil
- Lucas Holter
- Cornelia Olofsson Larsson
- James Klouda
- Jonatan Boman
- Joel Mattson
The service may recieve updates until 9th January 2024, and none after.