Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Core API Service

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

How to run

Create

.env Creation

Create a .env file

touch .env

Edit the .env file with any editor of your choice

vim .env

.env Template

APP_PORT=:8085 // Standard port for this microservice
LOG_LEVEL=trace
METHOD_LOGGING=false

Additional fields will also be required in the .env file 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.

Build

go build

Run

go run ccu

or if you dont want to build

go run main.go

(Optional) Update package checksums and download dependencies

go mod tidy

About

Responsible for core logic. Handles events such as scheduling and data processing.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors