The Gate User Sync service compares active personnel on KolayIK with users in the Macellan SuperApp customer group. If there are users who should be added, the service sends a request to the Macellan SuperApp API to include them. In addition, the service fetches information about inactive employees from KolayIK to ensure they are removed from the Macellan SuperApp customer group.
Visit https://apidocs.kolayik.com to obtain the KolayIK API token. This token should have the person:list
and person:bulk-view
permissions.
To acquire the Macellan SuperApp API token, contact the responsible personnel at Macellan SuperApp.
The project is written in Go 1.23. After cloning the repository onto your machine, fill out the values in the .env file. Then, execute the following commands to run the project:
cp .env.example .env
go mod download
go run main.go
The project includes a Makefile to provide shortcuts for Docker commands. Use the following command to run the project with Docker:
make up