/management-client-psychologist.services

Go mono repository with management of client’s activities with a psychologist.

Primary LanguageGoMIT LicenseMIT

psychologist client services

Represents a mono repository with services:

Service monitoring is carried out by prometheus

Installation

Docker

Install docker in containers

docker-compose up

Building for source

To build each service separately, you need to go into the directory with the necessary service and perform:

make build

URL services (default)

After the deployment of services, they will be available at the following addresses:
psychologist-service - http://localhost:9998
client-service - http://localhost:9999
operator-service - http://localhost:9997

services interact with each other on the internal network, you can change the ports for each of them, which will not affect the communication between services

Database services (default)

By default, two databases postgresql are created for the service psychologist and client

psycholog - postgres://127.0.0.1:5434/psychologist?sslmode=disable&user=postgres&password=postgres

clients - postgres://127.0.0.1:5436/clients?sslmode=disable&user=postgres&password=postgres

services interact with each other on the internal network, you can change the ports for each of them, which will not affect the communication between services

Monitoring services

Monitoring is carried out by means of prometheus which is available at:
prometheus - http://localhost:9090

Services are pre-registered in prometheus. The configuration file is located in the ./configs/prometheus.yml directory

Open API Specification