Describr your project HERE
Platform | Build |
---|---|
MacOS | |
Ubuntu | |
Windows |
To run it, simply download the latest release and define your environment variables.
You can set environment type as dev
if you want to use a .env
file (store it in the same folder of your app).
You can also download our docker image and apply the environment variables to your container.
Enviroment Variables
NAME | HOW TO USE |
---|---|
MYSQL_DBNAME |
database default database name |
MYSQL_HOST |
database host |
MYSQL_PORT |
database port |
MYSQL_PASS |
database password |
MYSQL_USER |
database username |
ENV_LOG_LEVEL |
logrus log level for verbose ref |
APP_IP |
app ip address |
APP_HTTP_PORT |
app http port |
APP_GRPC_PORT |
app grpc port |
RATE_LIMITER_BURST |
rate limiter same request burst |
RATE_LIMITER_RATE |
rate limit request per sec per user |
Tests
go test ./tests -v
Build
RUN go build -o TARGET_NAME ./src/