This service is responsible for core logic. Handles events such as scheduling and data processing.
API Documentation is created using the Swagger. The url for the Swagger UI is on the same port as the APP_PORT in the .env file at
http://<ip>:<APP_PORT>/swagger/index.html
If you are running locally it would be at http://127.0.0.1:8085/swagger/index.html
Create a .env file
touch .envEdit the .env file with any editor of your choice
vim .envAPP_PORT=:8085 // Standard port for this microservice
LOG_LEVEL=trace
METHOD_LOGGING=false
Additional fields will also be required in the
.envfile to run the microservice successfully. Here is a basic template of the.env. Customize to your liking. This template will change as the microservice matures and implements new features.
go buildgo run ccuor if you dont want to build
go run main.gogo mod tidy