Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fgituser/management-client-psychologist.services
Go mono repository with management of client’s activities with a psychologist.
https://github.com/fgituser/management-client-psychologist.services
docker-compose golang monorepo postresql prometheus rest-api services
Last synced: 16 days ago
JSON representation
Go mono repository with management of client’s activities with a psychologist.
- Host: GitHub
- URL: https://github.com/fgituser/management-client-psychologist.services
- Owner: fgituser
- License: mit
- Created: 2020-03-29T03:51:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-15T08:24:34.000Z (over 4 years ago)
- Last Synced: 2023-07-10T07:19:49.444Z (over 1 year ago)
- Topics: docker-compose, golang, monorepo, postresql, prometheus, rest-api, services
- Language: Go
- Homepage:
- Size: 26.6 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# psychologist client services
Represents a mono repository with services:
* [Client](https://github.com/fgituser/management-client-psychologist.services/tree/master/client) - client.service
* [Psychologist](https://github.com/fgituser/management-client-psychologist.services/tree/master/client) - psychologist.service
* [Operator](https://github.com/fgituser/management-client-psychologist.services/tree/master/client) - operator.serviceService monitoring is carried out by prometheus
### Installation
#### DockerInstall docker in containers
```sh
docker-compose up
```#### Building for source
To build each service separately, you need to go into the directory with the necessary service and perform:
```sh
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 clientpsycholog - 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
* [Client specification](https://github.com/fgituser/management-client-psychologist.services/blob/master/client/api/openapi-spec/swagger.yaml)
* [Psychologist specification](https://github.com/fgituser/management-client-psychologist.services/blob/develop/psychologist/api/openapi-spec/swagger.yaml)
* [Operator specification](https://github.com/fgituser/management-client-psychologist.services/blob/develop/operator/api/openapi-spec/swagger.yaml)