Skip to content

This was made during the project course "Mini Project: Distributed Systems Development - DIT356" at Gothenburg university.

Notifications You must be signed in to change notification settings

lucasholter00/user-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User service

Welcome to the User service! This service handles request for publishing, updating and deleing users. Users can be either a Patient or a Dentist.

Getting started

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:

Clone the repo

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.

Installing GO using BREW (if you dont have GO)

If you do not have GO installed on your computer you can download both brew and GO with these commands:

Install brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install GO with brew

brew install go

Add .env file

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"

Run User Service

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.

Roadmap

This service will not get updated in the future, due to project being considered as closed when GU course DIT356 is finished.

Authors and acknowledgment

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:

Developers

  • Mohamad Khalil
  • Lucas Holter
  • Cornelia Olofsson Larsson

Code Reviewers

  • James Klouda
  • Jonatan Boman
  • Joel Mattson

Project status

The service may recieve updates until 9th January 2024, and none after.

About

This was made during the project course "Mini Project: Distributed Systems Development - DIT356" at Gothenburg university.

Resources

Stars

Watchers

Forks

Packages

No packages published