Skip to content

serhiimazurok/creatly-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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=local

MONGO_URI=mongodb://mongodb:27017
MONGO_USER=admin
MONGO_PASS=qwerty

PASSWORD_SALT=<random string>
JWT_SIGNING_KEY=<random string>

SENDPULSE_LISTID=
SENDPULSE_ID=
SENDPULSE_SECRET=

HTTP_HOST=localhost

FONDY_MERCHANT_ID=1396424
FONDY_MERCHANT_PASS=test
PAYMENT_CALLBACK_URL=<host>/api/v1/callback/fondy
PAYMENT_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.

About

🚀 Creatly backend app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.3%
  • Other 0.7%