Skip to content

Repository files navigation

Creatly LMS [Backend Application] GO

Learn More about Creatly here

Build & Run (Locally)

Prerequisites

  • go 1.17
  • docker & docker-compose
  • golangci-lint (optional, used to run code checks)
  • swag (optional, used to re-generate swagger documentation)

Create .env file in root directory and add following values:

APP_ENV=localMONGO_URI=mongodb://mongodb:27017MONGO_USER=adminMONGO_PASS=qwertyPASSWORD_SALT=<random string>JWT_SIGNING_KEY=<random string>SENDPULSE_LISTID=SENDPULSE_ID=SENDPULSE_SECRET=HTTP_HOST=localhostFONDY_MERCHANT_ID=1396424FONDY_MERCHANT_PASS=testPAYMENT_CALLBACK_URL=<host>/api/v1/callback/fondyPAYMENT_REDIRECT_URL=https://example.com/SMTP_PASSWORD=<password>STORAGE_ENDPOINT=STORAGE_BUCKET=STORAGE_ACCESS_KEY=STORAGE_SECRET_KEY=CLOUDFLARE_API_KEY=CLOUDFLARE_EMAIL=CLOUDFLARE_ZONE_EMAIL=CLOUDFLARE_CNAME_TARGET=

Use make run to build&run project, make lint to check code with linter.

Releases

Packages

Used by

Contributors

Languages